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 Jan 8, 2025
1 parent ff20823 commit 830be0e
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 @@ -91,6 +91,7 @@ class SessionNotifier extends _$SessionNotifier with KeychainServiceMixin {
await ref.read(SettingsProviders.settings.notifier).reset();
await AuthenticationProviders.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 @@ -11,6 +11,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 830be0e

Please sign in to comment.