Set minimum window size on macOS

This commit is contained in:
Arkadiusz Fal
2026-04-20 22:24:58 +02:00
parent d9e4736547
commit fef9a07aa9

View File

@@ -67,6 +67,7 @@ struct YatteeApp: App {
.tint(appEnvironment.settingsManager.accentColor.color)
#endif
#if os(macOS)
.frame(minWidth: 800, minHeight: 500)
// Required on the view to prevent new windows on URL open
.handlesExternalEvents(preferring: ["*"], allowing: ["*"])
#endif