### Checklist - [x] I can reproduce the bug with the latest version given [here](https://github.com/FossifyOrg/Clock/releases/latest). - [x] I made sure that there are **no existing issues** - [open](https://github.com/FossifyOrg/Clock/issues) or [closed](https://github.com/FossifyOrg/Clock/issues?q=is%3Aissue+is%3Aclosed) - to which I could contribute my information. - [x] I made sure that there are **no existing discussions** - [open](https://github.com/orgs/FossifyOrg/discussions?discussions_q=is:open+label:clock) or [closed](https://github.com/orgs/FossifyOrg/discussions?discussions_q=is:closed+label:clock) - to which I could contribute my information. - [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed. - [x] **I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.** - [x] This issue contains only one bug. - [x] I have read and understood the [contribution guidelines](https://github.com/FossifyOrg/Clock/blob/master/CONTRIBUTING.md). ### Affected app version 1.6.1-nightly-404738c ### Affected Android/Custom ROM version Android 16 ### Affected device model Redmagic 9 Pro NX769J ### How did you install the app? GitHub releases ### Steps to reproduce the bug 1.Tap add alarm + button ### Expected behavior Alarm screen should open with configuration details of new alarm. ### Actual behavior App immediately hangs and crashes ### Screenshots/Screen recordings _No response_ ### Additional information Can attempt to get bug log if needed.
Activity
fix: avoid unsafe cast (#517)