mirror of
https://github.com/yattee/yattee.git
synced 2026-06-07 15:24:21 +00:00
Fix collapsed AddSource/EditSource sheets on macOS
Add macOS-only minimum frame to NavigationStack so the sheet has intrinsic size. Matches the pattern already used in PeerTubeInstancesExploreView.
This commit is contained in:
@@ -101,6 +101,9 @@ private struct EditRemoteServerContent: View {
|
||||
}
|
||||
.accessibilityIdentifier("editSource.view")
|
||||
}
|
||||
#if os(macOS)
|
||||
.frame(minWidth: 500, minHeight: 450)
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user