Skip to content

Commit

Permalink
fix deprecated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeroYang committed Feb 14, 2023
1 parent 6b48099 commit 108aa50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/storage/keyring.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class KeyringPrivateStore {
}
}

Future<void> updateAccount(Map acc, {bool isExternal: false}) async {
Future<void> updateAccount(Map acc, {bool isExternal = false}) async {
if (isExternal) {
updateContact(acc);
} else {
Expand Down
2 changes: 1 addition & 1 deletion lib/storage/keyringEVM.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class KeyringEVMPrivateStore {
}
}

Future<void> updateAccount(Map acc, {bool isExternal: false}) async {
Future<void> updateAccount(Map acc, {bool isExternal = false}) async {
if (isExternal) {
updateContact(acc);
} else {
Expand Down

0 comments on commit 108aa50

Please sign in to comment.