From e992d969395fc2ab590ff614cd06d17c56646537 Mon Sep 17 00:00:00 2001 From: jack Date: Sat, 18 Oct 2025 14:12:51 +0200 Subject: [PATCH] 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 --- bitchat/Views/ContentView.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitchat/Views/ContentView.swift b/bitchat/Views/ContentView.swift index 92a3001d..af11a884 100644 --- a/bitchat/Views/ContentView.swift +++ b/bitchat/Views/ContentView.swift @@ -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 }