mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 05:25:19 +00:00
Optimize sheet presentation for camera UI
- Force .large detent for maximum height - Hide drag indicator for cleaner look - Use ignoresSafeArea to give camera full space - Should show complete flash button and controls
This commit is contained in:
@@ -205,7 +205,7 @@ struct ContentView: View {
|
||||
}
|
||||
}
|
||||
#if os(iOS)
|
||||
.fullScreenCover(isPresented: $showImagePicker) {
|
||||
.sheet(isPresented: $showImagePicker) {
|
||||
ImagePickerView(sourceType: imagePickerSourceType) { image in
|
||||
showImagePicker = false
|
||||
if let image = image {
|
||||
@@ -221,6 +221,9 @@ struct ContentView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.presentationDetents([.large])
|
||||
.presentationDragIndicator(.hidden)
|
||||
.ignoresSafeArea()
|
||||
}
|
||||
#endif
|
||||
.sheet(isPresented: Binding(
|
||||
|
||||
Reference in New Issue
Block a user