From a9afe9edda989af2fe5e45e027c81d7b0f6c050c Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Fri, 15 Apr 2022 20:20:31 -0600 Subject: [PATCH] Remember last open tab between app launches --- Twigs/TabbedBudgetView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Twigs/TabbedBudgetView.swift b/Twigs/TabbedBudgetView.swift index a89cc7a..03c430d 100644 --- a/Twigs/TabbedBudgetView.swift +++ b/Twigs/TabbedBudgetView.swift @@ -13,7 +13,7 @@ struct TabbedBudgetView: View { @EnvironmentObject var authenticationDataStore: AuthenticationDataStore @EnvironmentObject var budgetDataStore: BudgetsDataStore @EnvironmentObject var apiService: TwigsApiService - @State var tabSelection: Int = 0 + @AppStorage("budget_tab") var tabSelection: Int = 0 @ViewBuilder var mainView: some View {