diff --git a/lib/features/smartwatch_health_data/health_provider.dart b/lib/features/smartwatch_health_data/health_provider.dart index ac5e2e49..8abb8c49 100644 --- a/lib/features/smartwatch_health_data/health_provider.dart +++ b/lib/features/smartwatch_health_data/health_provider.dart @@ -124,6 +124,7 @@ class HealthProvider with ChangeNotifier { isLoading = false; // LoaderBottomSheet.hideLoader(); if (result.isError) { + LoaderBottomSheet.hideLoader(); if(result.asError?.error is PlatformException) { error = 'Error initializing device: ${(result.asError?.error as PlatformException)?.message}'; }