From 8cd431a71cdb7764c30567d8072b929470086ec7 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Thu, 9 Feb 2023 18:00:15 -0600 Subject: [PATCH] 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 --- .../my_stack_view/desktop_favorite_wallets.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pages_desktop_specific/my_stack_view/desktop_favorite_wallets.dart b/lib/pages_desktop_specific/my_stack_view/desktop_favorite_wallets.dart index 5694c66ed..97e901747 100644 --- a/lib/pages_desktop_specific/my_stack_view/desktop_favorite_wallets.dart +++ b/lib/pages_desktop_specific/my_stack_view/desktop_favorite_wallets.dart @@ -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,