Fix to allow multiple prayers.

Fixed not caching enum values.
This commit is contained in:
Trevor Flynn
2018-03-30 18:54:11 -07:00
committed by Gary Tierney
parent 94783da9e5
commit 1c0b1d827f
2 changed files with 14 additions and 18 deletions
@@ -17,7 +17,6 @@ on { ButtonMessage::class }
.then {
val prayer = Prayer.findByButton(widgetId) ?: return@then
if (prayer.level > it.prayer.current) {
updatePrayer(it,null)
terminate();
return@then
}