Fix macOS bug where the navigation title interferes with back button
This commit is contained in:
@@ -10,11 +10,11 @@ import SwiftUI
|
||||
@main
|
||||
struct NostashApp: App {
|
||||
var body: some Scene {
|
||||
WindowGroup("Nostash") {
|
||||
WindowGroup {
|
||||
MainView()
|
||||
}
|
||||
#if macOS
|
||||
#if os(macOS)
|
||||
.defaultSize(width: 400, height: 500)
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user