mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Improve NotificationPushRuleType protocol
This commit is contained in:
+2
-2
@@ -19,9 +19,9 @@ import Foundation
|
||||
struct MockNotificationPushRule: NotificationPushRuleType {
|
||||
var ruleId: String!
|
||||
var enabled: Bool
|
||||
var actions: NotificationActions? = NotificationStandardActions.notifyDefaultSound.actions
|
||||
var ruleActions: NotificationActions? = NotificationStandardActions.notifyDefaultSound.actions
|
||||
|
||||
func matches(standardActions: NotificationStandardActions?) -> Bool {
|
||||
standardActions?.actions == actions
|
||||
standardActions?.actions == ruleActions
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user