mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
fix(artist): follower count shows as float when < 1000 (#482)
This commit is contained in:
parent
6a6ddf6e1f
commit
fd1846eecf
@ -27,7 +27,7 @@ abstract class PrimitiveUtils {
|
|||||||
} else if (num > 999999999) {
|
} else if (num > 999999999) {
|
||||||
return "${(num / 1000000000).toStringAsFixed(0)}B";
|
return "${(num / 1000000000).toStringAsFixed(0)}B";
|
||||||
} else {
|
} else {
|
||||||
return num.toString();
|
return num.toStringAsFixed(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user