Skip to content

Commit

Permalink
fix(artist): follower count shows as float when < 1000 (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingkor Roy Tirtho committed Apr 27, 2023
1 parent 6a6ddf6 commit fd1846e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/primitive_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit fd1846e

Please sign in to comment.