From ae0fffdc0ac4c6538981b8a2fbc48749d2d4244e Mon Sep 17 00:00:00 2001 From: taha Date: Sun, 9 Aug 2026 14:32:20 +0300 Subject: [PATCH] * loader hide function added to the error state of initDevice function --- lib/features/smartwatch_health_data/health_provider.dart | 1 + 1 file changed, 1 insertion(+) 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}'; }