[Auth] Fix import from aegis
This commit is contained in:
@@ -94,6 +94,7 @@ Future<int?> _processAegisExportFile(
|
||||
final isEncrypted = decodedJson['header']['slots'] != null;
|
||||
Map? aegisDB;
|
||||
if (isEncrypted) {
|
||||
await dialog.hide();
|
||||
String? password;
|
||||
try {
|
||||
await showTextInputDialog(
|
||||
@@ -109,6 +110,7 @@ Future<int?> _processAegisExportFile(
|
||||
await dialog.hide();
|
||||
return null;
|
||||
}
|
||||
await dialog.show();
|
||||
final content = decryptAegisVault(decodedJson, password: password!);
|
||||
aegisDB = jsonDecode(content);
|
||||
} catch (e, s) {
|
||||
|
||||
Reference in New Issue
Block a user