Dark Mode Button (I'll finish when I get home)

This commit is contained in:
Dallon Archibald
2021-01-26 15:49:10 -05:00
parent 40e2ba1f7b
commit e5772a9705
2 changed files with 15 additions and 2 deletions
+4
View File
@@ -43,4 +43,8 @@ class DebugViewController: UIViewController
{
Alarms.fromLocal().apply { $0.list.removeAll() }.localSave()
}
@IBAction func switchViewingMode(_ sender: Any) {
view.window?.overrideUserInterfaceStyle = .dark
}
}