Fixes issue with loading old android wallets. Changed seed text field type to visual password.

This commit is contained in:
M
2020-11-13 16:58:28 +02:00
parent fcaf7b4abb
commit ba2b5fb1fa
6 changed files with 67 additions and 21 deletions
+7
View File
@@ -19,3 +19,10 @@ Future<String> pathForWalletDir({@required String name, @required WalletType ty
Future<String> pathForWallet({@required String name, @required WalletType type}) async =>
await pathForWalletDir(name: name, type: type)
.then((path) => path + '/$name');
Future<String> outdatedAndroidPathForWalletDir({String name}) async {
final directory = await getApplicationDocumentsDirectory();
final pathDir = directory.path + '/$name';
return pathDir;
}