Fix account switching

This commit is contained in:
Thomas Ricouard 2023-01-16 19:53:29 +01:00
parent 666e2b4d5f
commit e9b7d48622
1 changed files with 1 additions and 0 deletions

View File

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