fix nano sending, update restore page wording, and other minor fixes (#1130)

* fix nano sending, update restore page wording, and other minor fixes

* fix bch address parsing

* minor code enhancement [skip ci]

* Register the main secure storage as the long lived instance of secure storage throughout the app session

---------

Co-authored-by: Serhii <borodenko.sv@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
This commit is contained in:
Matthew Fosse 2023-10-17 11:59:41 -04:00 committed by GitHub
parent 69a77d4f71
commit 98a9edc656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 160 additions and 84 deletions

View file

@ -10,13 +10,11 @@ class NanoRestoreWalletFromSeedCredentials extends WalletCredentials {
NanoRestoreWalletFromSeedCredentials({
required String name,
required this.mnemonic,
int height = 0,
String? password,
DerivationType? derivationType,
}) : super(
name: name,
password: password,
height: height,
derivationType: derivationType,
);
@ -33,9 +31,12 @@ class NanoRestoreWalletFromKeysCredentials extends WalletCredentials {
required String name,
required String password,
required this.seedKey,
this.derivationType,
}) : super(name: name, password: password);
DerivationType? derivationType,
}) : super(
name: name,
password: password,
derivationType: derivationType,
);
final String seedKey;
final DerivationType? derivationType;
}
}