Properly update alarms list when adding a new alarm

This commit is contained in:
Ensar Sarajčić 2023-08-17 16:42:19 +02:00
parent a3461ee074
commit c1e30b5f42

View file

@ -96,7 +96,7 @@ class AlarmFragment : Fragment(), ToggleAlarmInterface {
updatePrimaryColor()
updateBackgroundColor(requireContext().getProperBackgroundColor())
updateTextColor(requireContext().getProperTextColor())
updateItems(alarms)
updateItems(this@AlarmFragment.alarms)
}
}
}