mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
ios 16 custom detent
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ final class ComposerCreateActionListCoordinator: NSObject, Coordinator, Presenta
|
||||
view = ComposerCreateActionList(viewModel: viewModel.context)
|
||||
let hostingVC = VectorHostingController(rootView: view)
|
||||
hostingVC.bottomSheetPreferences = VectorHostingBottomSheetPreferences(
|
||||
detents: [.medium],
|
||||
detents: [.custom(identifier: "ComposerCreateActionList", height: 360)],
|
||||
prefersGrabberVisible: true,
|
||||
cornerRadius: 20
|
||||
)
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ struct ComposerCreateActionList: View {
|
||||
.padding(.vertical, 12)
|
||||
}
|
||||
}
|
||||
.padding(.top, 16)
|
||||
.padding(.top, 8)
|
||||
Spacer()
|
||||
}.background(theme.colors.background.ignoresSafeArea())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user