Address comments and cleanup version checks

This commit is contained in:
David Langley
2021-08-25 15:46:02 +01:00
parent 73b448afb6
commit 9b81730a50
11 changed files with 47 additions and 51 deletions
@@ -33,7 +33,7 @@ extension NotificationIndex {
/**
Used to map the on/off checkmarks to an index used in the static push rule definitions.
*/
static func index(enabled: Bool) -> NotificationIndex {
static func index(when enabled: Bool) -> NotificationIndex {
return enabled ? .noisy : .off
}