From c5d46c2c3cec8171cf490af686027b25030581f1 Mon Sep 17 00:00:00 2001 From: pitabash-eGov <151724478+pitabash-eGov@users.noreply.github.com> Date: Thu, 7 Mar 2024 18:48:22 +0530 Subject: [PATCH] removed commented code --- frontend/works_shg_app/lib/blocs/auth/auth.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/works_shg_app/lib/blocs/auth/auth.dart b/frontend/works_shg_app/lib/blocs/auth/auth.dart index ae60ace0cc..1aae1354de 100644 --- a/frontend/works_shg_app/lib/blocs/auth/auth.dart +++ b/frontend/works_shg_app/lib/blocs/auth/auth.dart @@ -91,7 +91,7 @@ class AuthBloc extends Bloc { if (kIsWeb) { html.window.sessionStorage.remove(e.value); } else { - //await storage.delete(key: e.value); + await Hive.box('keyValueModel').clear(); await Hive.box('localization').clear(); } @@ -156,4 +156,4 @@ class AuthState with _$AuthState { const factory AuthState.loaded( UserDetailsModel? userDetailsModel, String? accessToken) = _Loaded; const factory AuthState.error() = _Error; -} \ No newline at end of file +}