Merge pull request #494 from esensar/fix/new-alarm-refresh

Properly update alarms list when adding a new alarm
This commit is contained in:
Tibor Kaputa 2023-08-17 16:45:05 +02:00 committed by GitHub
commit 8ab9448f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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