Fix bug that made it impossible to disable a reminder

This commit is contained in:
2016-09-11 09:18:06 -04:00
parent 16dcc0cbc2
commit c46fa84135
2 changed files with 89 additions and 0 deletions

View File

@@ -148,6 +148,8 @@ public class HabitRecord extends Model implements SQLiteRecord
this.freqNum = freq.getNumerator();
this.freqDen = freq.getDenominator();
this.reminderDays = 0;
this.reminderMin = null;
this.reminderHour = null;
if (model.hasReminder())
{