mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Conditionally create selectedTab State property if we're on macOS
This commit is contained in:
parent
0460ca73ca
commit
779e864829
@ -4,7 +4,10 @@ import SwiftUI
|
||||
struct WriteFreely_MultiPlatformApp: App {
|
||||
@StateObject private var preferences = PreferencesModel()
|
||||
@StateObject private var account = AccountModel()
|
||||
|
||||
#if os(macOS)
|
||||
@State private var selectedTab = 0
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
@StateObject private var store = testPostStore
|
||||
|
Loading…
Reference in New Issue
Block a user