Skip to content

Commit

Permalink
fix: 🐛 TokensListHiveDatasource is not cleared when logout
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Dec 24, 2024
1 parent 914df78 commit 0a70a52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/application/session/providers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class SessionNotifier extends _$SessionNotifier {
await AuthenticationProviders.reset(ref);
await ContactProviders.reset(ref);
await KeychainInfoVaultDatasource.clear();
await TokensListHiveDatasource.clear();
await _appWalletDatasource.clearAppWallet();
await CacheManagerHive.clear();
await Vault.instance().clearSecureKey();
Expand Down
1 change: 1 addition & 0 deletions lib/application/session/session.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import 'package:aewallet/domain/models/core/failures.dart';
import 'package:aewallet/domain/models/core/result.dart';
import 'package:aewallet/infrastructure/datasources/appwallet.hive.dart';
import 'package:aewallet/infrastructure/datasources/keychain_info.vault.dart';
import 'package:aewallet/infrastructure/datasources/tokens_list.hive.dart';
import 'package:aewallet/infrastructure/datasources/vault/vault.dart';
import 'package:aewallet/model/data/hive_app_wallet_dto.dart';
import 'package:aewallet/util/cache_manager_hive.dart';
Expand Down

0 comments on commit 0a70a52

Please sign in to comment.