fix #16, enable alarm by default after creating
This commit is contained in:
parent
22454df944
commit
02ea628762
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue