mirror of
https://github.com/yattee/yattee.git
synced 2026-07-21 14:52:03 +00:00
Add explicit sizing to sheets on macOS
Give player, download, source, and login sheets minimum frame dimensions on macOS so they open at a usable size instead of collapsing.
This commit is contained in:
@@ -43,6 +43,9 @@ struct InstanceLoginView: View {
|
||||
}
|
||||
.accessibilityIdentifier("instance.login.view")
|
||||
}
|
||||
#if os(macOS)
|
||||
.frame(minWidth: 450, minHeight: 350)
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user