Skip to content

Commit

Permalink
Update RemoveData (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanvir-rahman authored Dec 28, 2024
1 parent 15d1f19 commit 22775e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/services/hive/main_box.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mixin class MainBoxMixin {

Future<void> logoutBox() async {
/// Clear the box
removeData(MainBoxKeys.isLogin);
removeData(MainBoxKeys.authToken);
await removeData(MainBoxKeys.isLogin);
await removeData(MainBoxKeys.authToken);
}
}

0 comments on commit 22775e3

Please sign in to comment.