mirror of
https://github.com/yattee/yattee.git
synced 2026-07-22 07:12:02 +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:
@@ -144,6 +144,9 @@ struct ErrorDetailsSheet: View {
|
||||
#if os(iOS)
|
||||
.presentationDetents([.medium])
|
||||
#endif
|
||||
#if os(macOS)
|
||||
.frame(minWidth: 450, minHeight: 300)
|
||||
#endif
|
||||
}
|
||||
|
||||
private func copyToClipboard() {
|
||||
|
||||
Reference in New Issue
Block a user