mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-08-15 07:06:11 +00:00
Force dark mode on camera/picker for black safe area bars
- Set overrideUserInterfaceStyle = .dark on UIImagePickerController - Changes white bars to black (much better looking) - Camera controls and photo library also appear in dark mode - Consistent dark appearance regardless of system settings
This commit is contained in:
parent
e427e1c62f
commit
e992d96939
@ -2154,6 +2154,9 @@ struct ImagePickerView: UIViewControllerRepresentable {
|
||||
// Use standard full screen - iOS handles safe areas automatically
|
||||
picker.modalPresentationStyle = .fullScreen
|
||||
|
||||
// Force dark mode to make safe area bars black instead of white
|
||||
picker.overrideUserInterfaceStyle = .dark
|
||||
|
||||
return picker
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user