mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-12 22:54:03 +01:00
Fix account switching
This commit is contained in:
parent
666e2b4d5f
commit
e9b7d48622
@ -90,6 +90,7 @@ struct IceCubesApp: App {
|
|||||||
if let account = currentAccount.account {
|
if let account = currentAccount.account {
|
||||||
AccountDetailView(account: account)
|
AccountDetailView(account: account)
|
||||||
.opacity(selectedTab == .profile ? 1 : 0)
|
.opacity(selectedTab == .profile ? 1 : 0)
|
||||||
|
.id(account.id)
|
||||||
}
|
}
|
||||||
if tab == selectedTab || sideBarLoadedTabs.contains(tab) {
|
if tab == selectedTab || sideBarLoadedTabs.contains(tab) {
|
||||||
tab
|
tab
|
||||||
|
Loading…
Reference in New Issue
Block a user