Skip to content

Commit

Permalink
process #189
Browse files Browse the repository at this point in the history
  • Loading branch information
xdd666t committed May 22, 2024
1 parent fd5b8b3 commit f3a033c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions lib/src/widget/helper/smart_overlay.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ class _SmartOverlayState extends State<SmartOverlay> {
SmartAllDialogType.loading,
SmartAllDialogType.toast,
});

if (!visible) {
DialogProxy.instance.entryNotify.remove();
DialogProxy.instance.entryLoading.remove();
}
});
}),
);
Expand All @@ -61,6 +56,8 @@ class _SmartOverlayState extends State<SmartOverlay> {
@override
Widget build(BuildContext context) {
if (!visible) {
DialogProxy.instance.entryNotify.remove();
DialogProxy.instance.entryLoading.remove();
return const SizedBox.shrink();
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description:
An elegant Flutter Dialog solution,
Easily implement Toast, Loading and custom Dialog,
Make the use of the dialog easier!
version: 4.9.7+2
version: 4.9.7+3
homepage: https://github.com/fluttercandies/flutter_smart_dialog
# flutter pub publish --server=https://pub.dartlang.org
# flutter build web --release --base-href="/flutter_smart_dialog/web/"
Expand Down

0 comments on commit f3a033c

Please sign in to comment.