Scope the Tabbar to the current account

This commit is contained in:
Thomas Ricouard 2023-02-04 22:00:33 +01:00
parent f55cadfbdd
commit 0a9098c3db

View file

@ -154,6 +154,7 @@ struct IceCubesApp: App {
.toolbarBackground(theme.primaryBackgroundColor.opacity(0.50), for: .tabBar) .toolbarBackground(theme.primaryBackgroundColor.opacity(0.50), for: .tabBar)
} }
} }
.id(appAccountsManager.currentClient.id)
} }
private func setNewClientsInEnv(client: Client) { private func setNewClientsInEnv(client: Client) {