mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 18:54:11 +00:00
Simple view display switching
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user