Dark mode shortcut

This commit is contained in:
James Magahern
2021-03-08 23:38:01 -08:00
parent 9bb8807c19
commit b88512bc34
4 changed files with 15 additions and 1 deletions

View File

@@ -105,6 +105,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
title: "Refresh",
action: #selector(ShortcutResponder.refresh)
),
// Toggle Dark Mode
UIKeyCommand(
modifiers: [.command], input: "D",
title: "Toggle Dark Mode",
action: #selector(ShortcutResponder.toggleDarkMode)
),
]
}