Skip to content

Commit 5f5ef2e

Browse files
committed
fix: Regression regarding AsyncValueGuard
1 parent 2945b56 commit 5f5ef2e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/src/widgets/async_value_guard.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ class AsyncValueGuard<T> extends StatelessWidget {
7171
],
7272
);
7373
} else {
74-
return customLoadingWidget ?? sampleLoadingWidget;
74+
customLoadingWidget ??
75+
maybeWrapInSliver(Loading(sampleWidget: sampleLoadingWidget));
7576
}
7677
},
7778
skipLoadingOnReload: skipLoadingOnReload,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1515
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1616
# Read more about iOS versioning at
1717
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18-
version: 0.15.4
18+
version: 0.15.5
1919

2020
environment:
2121
sdk: ^3.4.0

0 commit comments

Comments
 (0)