Skip to content

Commit

Permalink
fix: (fixes #82) Add macOS Sequoia support (appears the order of the …
Browse files Browse the repository at this point in the history
…Settings declaration now matters)
  • Loading branch information
othyn committed Oct 6, 2024
1 parent 714ab79 commit 458fe5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions auto-clicker/Init/AutoClickerApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ struct AutoClickerApp: App {
@NSApplicationDelegateAdaptor(AppDelegate.self) var delegate

var body: some Scene {
Settings {
SettingsView()
}

WindowGroup {
ACWindow()
.frame(minWidth: WindowStateService.mainWindowMinWidth,
Expand All @@ -36,5 +32,9 @@ struct AutoClickerApp: App {
Button(NSLocalizedString("about_about", comment: "About") + " \(Bundle.main.appName)...") { delegate.showAboutWindow() }
}
}

Settings {
SettingsView()
}
}
}

0 comments on commit 458fe5a

Please sign in to comment.