Merge pull request #480 from Austinpayne/fix/map-options-resizing

fix: inverted map options sheet resizing
This commit is contained in:
Garth Vander Houwen 2024-02-12 18:38:16 -08:00 committed by GitHub
commit ae6a74189f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -223,7 +223,7 @@ struct NodeMap: View {
.padding(.bottom)
#endif
}
.presentationDetents([UserDefaults.enableOfflineMaps || UserDefaults.enableOverlayServer ? .large : .medium])
.presentationDetents([enableOfflineMaps || enableOverlayServer ? .large : .medium])
.presentationDragIndicator(.visible)
}
}