Skip to content
Snippets Groups Projects
Commit 4ef01e05 authored by vjrj's avatar vjrj
Browse files

Fix getName in SharedPrefs

parent b673270f
No related branches found
No related tags found
No related merge requests found
......@@ -118,8 +118,8 @@ class SharedPreferencesHelper with ChangeNotifier {
return '$pubKey:$checksum';
}
String getName({int index = 0}) {
final CesiumCard card = cesiumCards[index];
String getName() {
final CesiumCard card = cesiumCards[getCurrentWalletIndex()];
return card.name;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment