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:
sneurlax 2023-02-09 18:00:15 -06:00
parent 3104fdd856
commit 8cd431a71c

View file

@ -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,