Simple view display switching

This commit is contained in:
Arkadiusz Fal
2021-06-26 13:37:24 +02:00
parent b336d2c512
commit 15bfaf7497
12 changed files with 74 additions and 32 deletions

View File

@@ -2,6 +2,7 @@ import SwiftUI
struct ContentView: View {
@ObservedObject private var state = AppState()
@ObservedObject private var profile = Profile()
@SceneStorage("tabSelection") var tabSelection = TabSelection.subscriptions
@@ -36,6 +37,7 @@ struct ContentView: View {
}
}
.environmentObject(state)
.environmentObject(profile)
}
}