Skip to content

Commit

Permalink
fix: keystore password dialog showing up before importing (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAabedKhan authored Aug 3, 2023
1 parent 08f6724 commit 0d71651
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/ui/widgets/settingsView/settings_export_section.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,12 @@ class SExportSection extends StatelessWidget {
),
),
subtitle: I18nText('settingsView.importKeystoreHint'),
onTap: () {
_settingsViewModel.importKeystore();
onTap: () async{
await _settingsViewModel.importKeystore();
final sManageKeystorePassword = SManageKeystorePassword();
sManageKeystorePassword.showKeystoreDialog(context);
if(context.mounted){
sManageKeystorePassword.showKeystoreDialog(context);
}
},
),
ListTile(
Expand Down

0 comments on commit 0d71651

Please sign in to comment.