jeran
05/30/2022, 8:40 PM// 0 on android in english will be other
the strings we’re hoping to achieve are:
x == 0 -> “Just now”
x == 1 -> “1 hour ago”
x > 1 -> “x hours ago”
how can we achieve this if android doesn’t match zero properly?
https://github.com/icerockdev/moko-resources/blob/a4759a4439a492b6b8a6f7fa631be7cf[…]library/src/commonMain/kotlin/com/icerockdev/library/Testing.ktalex009
05/31/2022, 4:23 PMif(counter == 0) MR.strings.some_zero_text.desc()
else MR.strings.some_plural.desc(counter)
jeran
05/31/2022, 4:47 PM