mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix clearing of reminders (#638)
This commit is contained in:
@@ -211,7 +211,10 @@ class EditHabitActivity : AppCompatActivity() {
|
||||
habit.color = paletteColor
|
||||
if (reminderHour >= 0) {
|
||||
habit.setReminder(Reminder(reminderHour, reminderMin, reminderDays))
|
||||
} else {
|
||||
habit.setReminder(null)
|
||||
}
|
||||
|
||||
habit.frequency = Frequency(freqNum, freqDen)
|
||||
if (habitType == Habit.NUMBER_HABIT) {
|
||||
habit.targetValue = targetInput.text.toString().toDouble()
|
||||
|
||||
Reference in New Issue
Block a user