From 0a9098c3db736f0814744132c8536bf3515b6d66 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sat, 4 Feb 2023 22:00:33 +0100 Subject: [PATCH] Scope the Tabbar to the current account --- IceCubesApp/App/IceCubesApp.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/IceCubesApp/App/IceCubesApp.swift b/IceCubesApp/App/IceCubesApp.swift index f8beb9b4..bf499597 100644 --- a/IceCubesApp/App/IceCubesApp.swift +++ b/IceCubesApp/App/IceCubesApp.swift @@ -154,6 +154,7 @@ struct IceCubesApp: App { .toolbarBackground(theme.primaryBackgroundColor.opacity(0.50), for: .tabBar) } } + .id(appAccountsManager.currentClient.id) } private func setNewClientsInEnv(client: Client) {