Remember last open tab between app launches

This commit is contained in:
William Brawner 2022-04-15 20:20:31 -06:00
parent 35656383e9
commit a9afe9edda

View file

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