fix loading error

This commit is contained in:
Phillip Thelen 2017-10-20 16:55:23 +02:00
parent c8c828ea7e
commit 3014889aba
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.habitrpg.android.habitica"
android:versionCode="1946"
android:versionCode="1948"
android:versionName="1.3"
android:screenOrientation="portrait"
android:installLocation="auto" >

View file

@ -12,7 +12,7 @@ object NumberAbbreviator {
fun abbreviate(context: Context, number: Double): String {
var usedNumber = number
var counter = 0
while (number >= 1000) {
while (usedNumber >= 1000) {
counter++
usedNumber /= 1000
}