From e9b7d48622966b4dd527e1d4fd146afe286bd76a Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 16 Jan 2023 19:53:29 +0100 Subject: [PATCH] Fix account switching --- IceCubesApp/App/IceCubesApp.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/IceCubesApp/App/IceCubesApp.swift b/IceCubesApp/App/IceCubesApp.swift index dbc59bde..65ad4f81 100644 --- a/IceCubesApp/App/IceCubesApp.swift +++ b/IceCubesApp/App/IceCubesApp.swift @@ -90,6 +90,7 @@ struct IceCubesApp: App { if let account = currentAccount.account { AccountDetailView(account: account) .opacity(selectedTab == .profile ? 1 : 0) + .id(account.id) } if tab == selectedTab || sideBarLoadedTabs.contains(tab) { tab