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() updatePrimaryColor()
updateBackgroundColor(requireContext().getProperBackgroundColor()) updateBackgroundColor(requireContext().getProperBackgroundColor())
updateTextColor(requireContext().getProperTextColor()) updateTextColor(requireContext().getProperTextColor())
updateItems(alarms) updateItems(this@AlarmFragment.alarms)
} }
} }
} }