Skip to content

Commit

Permalink
feat: Remove polygon id specific backup and restore
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Oct 18, 2024
1 parent ed57497 commit 077a622
Show file tree
Hide file tree
Showing 16 changed files with 80 additions and 810 deletions.
6 changes: 2 additions & 4 deletions lib/credentials/cubit/credentials_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -495,11 +495,9 @@ class CredentialsCubit extends Cubit<CredentialsState> {

Future<void> recoverWallet({
required List<CredentialModel> credentials,
required bool isPolygonIdCredentials,
}) async {
if (!isPolygonIdCredentials) {
await credentialsRepository.deleteAll();
}
await credentialsRepository.deleteAll();

for (final credential in credentials) {
await credentialsRepository.insert(credential);
}
Expand Down
2 changes: 0 additions & 2 deletions lib/dashboard/drawer/wallet_security/backup/backup.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export 'backup_credential/backup_credential.dart';
export 'backup_mnemonic/backup_mnemonic.dart';
export 'backup_polygon_identity/backup_polygon_identity.dart';
export 'src/src.dart';

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion lib/dashboard/drawer/wallet_security/backup/src/src.dart

This file was deleted.

Loading

0 comments on commit 077a622

Please sign in to comment.