Remember last open tab between app launches
This commit is contained in:
parent
35656383e9
commit
a9afe9edda
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ struct TabbedBudgetView: View {
|
||||||
@EnvironmentObject var authenticationDataStore: AuthenticationDataStore
|
@EnvironmentObject var authenticationDataStore: AuthenticationDataStore
|
||||||
@EnvironmentObject var budgetDataStore: BudgetsDataStore
|
@EnvironmentObject var budgetDataStore: BudgetsDataStore
|
||||||
@EnvironmentObject var apiService: TwigsApiService
|
@EnvironmentObject var apiService: TwigsApiService
|
||||||
@State var tabSelection: Int = 0
|
@AppStorage("budget_tab") var tabSelection: Int = 0
|
||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
var mainView: some View {
|
var mainView: some View {
|
||||||
|
|
Loading…
Reference in a new issue