lint
This commit is contained in:
parent
89ece22f73
commit
da993b5b58
@ -107,7 +107,6 @@ data class PushRule(
|
|||||||
return (getActions().firstOrNull { it is Action.Highlight } as? Action.Highlight)?.highlight ?: false
|
return (getActions().firstOrNull { it is Action.Highlight } as? Action.Highlight)?.highlight ?: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the notification status.
|
* Set the notification status.
|
||||||
*
|
*
|
||||||
@ -141,6 +140,4 @@ data class PushRule(
|
|||||||
* @return true if the rule should not play sound
|
* @return true if the rule should not play sound
|
||||||
*/
|
*/
|
||||||
fun shouldNotNotify() = actions.contains(Action.ACTION_DONT_NOTIFY)
|
fun shouldNotNotify() = actions.contains(Action.ACTION_DONT_NOTIFY)
|
||||||
|
|
||||||
companion object { }
|
|
||||||
}
|
}
|
||||||
|
@ -47,6 +47,5 @@ internal class DefaultUpdatePushRuleActionsTask @Inject constructor(
|
|||||||
pushRulesApi.updateRuleActions(params.kind.value, params.ruleId, body)
|
pushRulesApi.updateRuleActions(params.kind.value, params.ruleId, body)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user