Remove calls to Repetition.add and Repetition.remove

This commit is contained in:
2020-11-26 14:19:02 -06:00
parent f97fed3b9b
commit 61414d62f4
5 changed files with 46 additions and 28 deletions

View File

@@ -58,7 +58,7 @@ class NumericalCheckmarkWidgetActivity : Activity(), ListHabitsBehavior.NumberPi
}
override fun onNumberPicked(newValue: Double) {
behavior.setNumericValue(data.habit, data.timestamp, (newValue * 1000).toInt())
behavior.setValue(data.habit, data.timestamp, (newValue * 1000).toInt())
widgetUpdater.updateWidgets()
finish()
}