waseefakhtar / dose-android

💊⏰ Dose is a medication reminder app for Android, built entirely using Kotlin and Jetpack Compose with MVVM + Clean Architecture
https://play.google.com/store/apps/details?id=com.waseefakhtar.doseapp
MIT License
531 stars 83 forks source link

[BUG] Crash on adding new medication, 1.4.0 #140

Closed GitGitro closed 9 months ago

GitGitro commented 9 months ago

The app crashes when trying to add a new medication, I'll try to solve this asap as is kinda huge as crash. here is the log

FATAL EXCEPTION: main      
Process: com.waseefakhtar.doseapp, PID: 26115
android.content.res.Resources$NotFoundException: Plural resource ID #0x7f0b0000 quantity=4 item=other
at android.content.res.ResourcesImpl.getQuantityText(ResourcesImpl.java:321)
at android.content.res.Resources.getQuantityText(Resources.java:529)
at android.content.res.Resources.getQuantityString(Resources.java:605)
at androidx.compose.ui.res.StringResources_androidKt.pluralStringResource(StringResources.android.kt:91)
...
waseefakhtar commented 9 months ago

Great catch @GitGitro! 👏