Null Downloads Units
Description
On some apps, the "units" for the downloads counter displays "null".
Expected Behaviour
It should be empty for apps that do not have enough downloads to warrant units, and it should be the respective unit for those that do.
Actual Behaviour
Some apps, such as the one in the picture attached display "null".
Steps to Reproduce
-
Search for RustDesk
-
Open app page
-
View downloads
Environment
- Device model & codename:
- Android version:
- Aurora Store version:
- Installation method:
- OS:
Logcat
Examples
Additional context
Possible solution
I believe the issue is that this app only has 500 downloads, though I have not confirmed this, so there is no unit necessary, but since it is missing the string template displays "null" instead of displaying nothing as it should. I'm not a Kotlin developer so I was unable to determine where the issue was in the source, but it seems like a simple fix.
Edited by Matthew Toohey
