fix: frames and switch_to warning instead of instruction
This commit is contained in:
@@ -123,20 +123,25 @@ struct OnboardingContainerView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.frame(
|
||||
minWidth: 1000,
|
||||
minHeight: 700
|
||||
)
|
||||
#if APPSTORE
|
||||
.frame(
|
||||
minWidth: 1000,
|
||||
minHeight: 700
|
||||
)
|
||||
#else
|
||||
.frame(
|
||||
minWidth: 1000,
|
||||
minHeight: 900
|
||||
)
|
||||
#endif
|
||||
}
|
||||
|
||||
private func completeOnboarding() {
|
||||
// Mark onboarding as complete - settings are already being updated in real-time
|
||||
settingsManager.settings.hasCompletedOnboarding = true
|
||||
|
||||
// Close window with standard macOS animation
|
||||
dismiss()
|
||||
|
||||
// After a brief delay, trigger the menu bar extra to open
|
||||
DispatchQueue.main.asyncAfter(deadline: .now()) {
|
||||
if let menuBarWindow = NSApp.windows.first(where: {
|
||||
$0.className.contains("MenuBarExtra") || $0.className.contains("StatusBar")
|
||||
|
||||
@@ -78,10 +78,17 @@ struct SettingsWindowView: View {
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
.frame(
|
||||
minWidth: 750,
|
||||
minHeight: 700
|
||||
)
|
||||
#if APPSTORE
|
||||
.frame(
|
||||
minWidth: 750,
|
||||
minHeight: 700
|
||||
)
|
||||
#else
|
||||
.frame(
|
||||
minWidth: 750,
|
||||
minHeight: 900
|
||||
)
|
||||
#endif
|
||||
.onReceive(
|
||||
NotificationCenter.default.publisher(for: Notification.Name("SwitchToSettingsTab"))
|
||||
) { notification in
|
||||
|
||||
Reference in New Issue
Block a user