diff --git a/Tusker/Screens/Attachment/AttachmentViewController.swift b/Tusker/Screens/Attachment/AttachmentViewController.swift index f23fa6d7..b356021c 100644 --- a/Tusker/Screens/Attachment/AttachmentViewController.swift +++ b/Tusker/Screens/Attachment/AttachmentViewController.swift @@ -48,6 +48,9 @@ class AttachmentViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() + overrideUserInterfaceStyle = .dark + view.backgroundColor = .black + if let data = ImageCache.attachments.get(attachment.url) { createLargeImage(data: data) } else { diff --git a/Tusker/Screens/Gallery/GalleryViewController.swift b/Tusker/Screens/Gallery/GalleryViewController.swift index 81d76482..e5429831 100644 --- a/Tusker/Screens/Gallery/GalleryViewController.swift +++ b/Tusker/Screens/Gallery/GalleryViewController.swift @@ -78,6 +78,8 @@ class GalleryViewController: UIPageViewController, UIPageViewControllerDataSourc self.dataSource = self self.delegate = self + overrideUserInterfaceStyle = .dark + dismissInteractionController = LargeImageInteractionController(viewController: self) } diff --git a/Tusker/Screens/Utilities/LoadingViewController.swift b/Tusker/Screens/Utilities/LoadingViewController.swift index 12049260..a5c9ce2f 100644 --- a/Tusker/Screens/Utilities/LoadingViewController.swift +++ b/Tusker/Screens/Utilities/LoadingViewController.swift @@ -16,7 +16,7 @@ class LoadingViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() - view.backgroundColor = .systemBackground + view.backgroundColor = .clear activityIndicator = UIActivityIndicatorView(style: .large) activityIndicator.color = .secondaryLabel