mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-21 07:02:09 +02:00
height value
This commit is contained in:
@@ -34,8 +34,8 @@ class VectorHostingBottomSheetPreferences {
|
||||
case .large: return .large()
|
||||
case let .custom(_, height):
|
||||
if #available(iOS 16, *) {
|
||||
return .custom { context in
|
||||
return context.maximumDetentValue
|
||||
return .custom { _ in
|
||||
return height
|
||||
}
|
||||
} else {
|
||||
return .medium()
|
||||
|
||||
Reference in New Issue
Block a user