Skip to content

Commit

Permalink
fix: actionMaximum/actionCd 失效 (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Nov 22, 2023
1 parent e86258e commit bfd7f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/li/songe/gkd/data/Rule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ data class Rule(
?: app.actionCd
} else {
null
}) ?: rule.actionCd ?: defaultMiniCd)
}) ?: rule.actionCd ?: group.actionCd ?: app.actionCd ?: defaultMiniCd)
)
var actionTriggerTime = Value(0L)
fun trigger() {
Expand All @@ -89,7 +89,7 @@ data class Rule(
?: group.actionMaximum ?: app.actionMaximum
} else {
null
}) ?: rule.actionMaximum)
}) ?: rule.actionMaximum ?: group.actionMaximum ?: app.actionMaximum)

var actionCount = Value(0)

Expand Down

0 comments on commit bfd7f59

Please sign in to comment.