fix #16, enable alarm by default after creating

This commit is contained in:
tibbi 2018-03-28 19:10:04 +02:00
parent 22454df944
commit 02ea628762
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class AlarmFragment : Fragment(), ToggleAlarmInterface {
context!!.updateTextColors(alarm_fragment)
alarm_fab.setOnClickListener {
val newAlarm = context.createNewAlarm(DEFAULT_ALARM_MINUTES, 0)
newAlarm.isEnabled = true
openEditAlarm(newAlarm)
}
}