fix(artist): follower count shows as float when < 1000 (#482)

This commit is contained in:
Kingkor Roy Tirtho 2023-04-27 23:04:04 +06:00
parent 6a6ddf6e1f
commit fd1846eecf

View File

@ -27,7 +27,7 @@ abstract class PrimitiveUtils {
} else if (num > 999999999) {
return "${(num / 1000000000).toStringAsFixed(0)}B";
} else {
return num.toString();
return num.toStringAsFixed(0);
}
}