mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 03:16:02 +03:00
lint
This commit is contained in:
parent
60b351cddd
commit
7405d501f6
2 changed files with 0 additions and 3 deletions
|
@ -39,7 +39,6 @@ val PushRule.notificationIndex: NotificationIndex? get() =
|
|||
ruleMatches(this, targetRule)
|
||||
}
|
||||
|
||||
|
||||
private fun ruleMatches(rule: PushRule, targetRule: PushRule): Boolean {
|
||||
// Rules match if both are disabled, or if both are enabled and their highlight/sound/notify actions match up.
|
||||
return (!rule.enabled && !targetRule.enabled)
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
package im.vector.app.features.settings.notifications
|
||||
|
||||
import org.matrix.android.sdk.api.pushrules.RuleIds
|
||||
import org.matrix.android.sdk.api.pushrules.rest.PushRule
|
||||
import org.matrix.android.sdk.api.pushrules.toJson
|
||||
|
||||
fun getStandardAction(ruleId: String, index: NotificationIndex): StandardActions? {
|
||||
return when (ruleId) {
|
||||
|
|
Loading…
Reference in a new issue