Fix typos
Dimitris Apostolou committed
Feb 5, 2023 at 00:59 UTC
1fe1b2fd87cf8ab8c4b1fd5dc79bd0d05b0ef25e
3 files changed
+7
-7
README.md
+2
-2
@@ -90,12 +90,12 @@ Edit the applicable `strings_XX.arb` file in `res/values/` and open a pull reque
90
- French
91
- German
92
- Italian
93
-- Portugese
93
+- Portuguese
94
- Dutch
95
- Polish
96
- Croatian
97
- Russian
98
-- Ukranian
98
+- Ukrainian
99
- Hindi
100
- Japanese
101
- Chinese
lib/anypay/any_pay_payment.dart
+1
-1
@@ -57,7 +57,7 @@ class AnyPayPayment {
57
58
List<String> get outAddresses {
59
return instructions
60
- .map((instuction) => instuction.outputs.map((out) => out.address))
60
+ .map((instruction) => instruction.outputs.map((out) => out.address))
61
.expand((e) => e)
62
.toList();
63
}
lib/core/wallet_loading_service.dart
+4
-4
@@ -22,13 +22,13 @@ class WalletLoadingService {
22
final wallet = await walletService.openWallet(name, password);
23
24
if (type == WalletType.monero) {
25
- await upateMoneroWalletPassword(wallet);
25
+ await updateMoneroWalletPassword(wallet);
26
}
27
28
return wallet;
29
}
30
31
- Future<void> upateMoneroWalletPassword(WalletBase wallet) async {
31
+ Future<void> updateMoneroWalletPassword(WalletBase wallet) async {
32
final key = PreferencesKey.moneroWalletUpdateV1Key(wallet.name);
33
var isPasswordUpdated = sharedPreferences.getBool(key) ?? false;
34
@@ -37,8 +37,8 @@ class WalletLoadingService {
37
}
38
39
final password = generateWalletPassword();
40
- // Save new generated password with backup key for case
41
- // if wallet will change password, but it will faild to updated in secure storage
40
+ // Save new generated password with backup key for case where
41
+ // wallet will change password, but it will fail to update in secure storage
42
final bakWalletName = '#__${wallet.name}_bak__#';
43
await keyService.saveWalletPassword(walletName: bakWalletName, password: password);
44
await wallet.changePassword(password);