From 7720dddc0edf0c9dbfade17e8bc3bdd94b930bd9 Mon Sep 17 00:00:00 2001 From: Romain Talleu Date: Fri, 12 Feb 2021 11:19:12 +0100 Subject: [PATCH 1/5] Update Info.plist to dark mode --- Delta/Supporting Files/Info.plist | 2 -- 1 file changed, 2 deletions(-) diff --git a/Delta/Supporting Files/Info.plist b/Delta/Supporting Files/Info.plist index c5c64f490..1679edc41 100644 --- a/Delta/Supporting Files/Info.plist +++ b/Delta/Supporting Files/Info.plist @@ -222,8 +222,6 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight - UIUserInterfaceStyle - Light UTExportedTypeDeclarations From 5c41fd60745b6a06bda6104887b7a4885d1efacd Mon Sep 17 00:00:00 2001 From: Romain Talleu Date: Fri, 12 Feb 2021 11:20:57 +0100 Subject: [PATCH 2/5] Dark mode for settings view --- Delta/Base.lproj/Settings.storyboard | 167 ++++++++++++--------------- 1 file changed, 77 insertions(+), 90 deletions(-) diff --git a/Delta/Base.lproj/Settings.storyboard b/Delta/Base.lproj/Settings.storyboard index d6e9a5bfb..8be85c7e6 100644 --- a/Delta/Base.lproj/Settings.storyboard +++ b/Delta/Base.lproj/Settings.storyboard @@ -1,9 +1,9 @@ - + - + @@ -16,7 +16,7 @@ - + From 5711a3907ce7bd61fe5bd6fb8c28d95bcd476d15 Mon Sep 17 00:00:00 2001 From: Romain Talleu Date: Fri, 12 Feb 2021 11:34:06 +0100 Subject: [PATCH 3/5] Dark mode for player controllers --- Delta/Base.lproj/Settings.storyboard | 3 +-- .../Controllers/ControllersSettingsViewController.swift | 6 +++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Delta/Base.lproj/Settings.storyboard b/Delta/Base.lproj/Settings.storyboard index 8be85c7e6..5518b7799 100644 --- a/Delta/Base.lproj/Settings.storyboard +++ b/Delta/Base.lproj/Settings.storyboard @@ -625,7 +625,7 @@ - + @@ -638,7 +638,6 @@ - @@ -1042,7 +1041,6 @@ - @@ -1633,9 +1631,6 @@ Delta uses OpenVGDB to provide automatic artwork for imported games. - - - diff --git a/Delta/Settings/Syncing/GameSyncStatusViewController.swift b/Delta/Settings/Syncing/GameSyncStatusViewController.swift index a18ec44b7..70fc4c67d 100644 --- a/Delta/Settings/Syncing/GameSyncStatusViewController.swift +++ b/Delta/Settings/Syncing/GameSyncStatusViewController.swift @@ -81,7 +81,11 @@ private extension GameSyncStatusViewController } else { - cell.textLabel?.textColor = .darkText + if #available(iOS 13.0, *) { + cell.textLabel?.textColor = .label + } else { + cell.textLabel?.textColor = .darkText + } } } From c7d551167604c7d1485520e137639aff56b67c10 Mon Sep 17 00:00:00 2001 From: Romain Talleu Date: Fri, 12 Feb 2021 12:40:02 +0100 Subject: [PATCH 5/5] Dark mode for cheat view --- Delta/Base.lproj/PauseMenu.storyboard | 24 +++++++++++++++------ Delta/Pause Menu/Cheats/CheatTextView.swift | 3 +++ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/Delta/Base.lproj/PauseMenu.storyboard b/Delta/Base.lproj/PauseMenu.storyboard index d91da9ae9..a12852e81 100644 --- a/Delta/Base.lproj/PauseMenu.storyboard +++ b/Delta/Base.lproj/PauseMenu.storyboard @@ -1,9 +1,10 @@ - + - + + @@ -167,7 +168,7 @@ -