mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
key favorite cards
and what Julian's already done automagically reorders the cards according to their order in the list in the edit view so you can list which favorite is your favorite
This commit is contained in:
parent
3104fdd856
commit
8cd431a71c
1 changed files with 2 additions and 0 deletions
|
@ -64,12 +64,14 @@ class DesktopFavoriteWallets extends ConsumerWidget {
|
|||
children: [
|
||||
...favorites.map((p0) {
|
||||
final walletId = ref.read(p0).walletId;
|
||||
final walletName = ref.read(p0).walletName;
|
||||
final managerProvider = ref
|
||||
.read(walletsChangeNotifierProvider)
|
||||
.getManagerProvider(walletId);
|
||||
|
||||
return FavoriteCard(
|
||||
walletId: walletId,
|
||||
key: Key(walletName),
|
||||
width: cardWidth,
|
||||
height: cardHeight,
|
||||
managerProvider: managerProvider,
|
||||
|
|
Loading…
Reference in a new issue