diff --git a/lib/ui/screens/home_page/home_viewmodel.dart b/lib/ui/screens/home_page/home_viewmodel.dart index e5ce7f9..6b0ad8b 100644 --- a/lib/ui/screens/home_page/home_viewmodel.dart +++ b/lib/ui/screens/home_page/home_viewmodel.dart @@ -167,7 +167,9 @@ class HomeViewModel extends BaseViewModel { _bottomSheetService .showCustomSheet(variant: SheetType.mapBottomSheet, data: data) .then((value) { - activeTopSheet = true; + if (value != null) { + activeTopSheet = true; + } notifyListeners(); }); }