fix: when importing should prompt for password if keyParams is present

This commit is contained in:
Johnny Almonte
2020-07-03 12:12:39 -04:00
parent 4a07ef797e
commit 8787e1264d

View File

@@ -382,7 +382,7 @@ class AccountMenuCtrl extends PureViewCtrl {
if (!data) {
return;
}
if (data.auth_params) {
if (data.auth_params || data.keyParams) {
await this.setState({
importData: {
...this.getState().importData,