Removed unused files, code cleanup

This commit is contained in:
Anton Stubenbord
2023-01-22 14:34:58 +01:00
parent b370fa4164
commit 9bfb6aa661
42 changed files with 248 additions and 589 deletions

View File

@@ -0,0 +1,6 @@
String formatMaxCount(int? count, [int maxCount = 99]) {
if ((count ?? 0) > maxCount) {
return "$maxCount+";
}
return (count ?? 0).toString().padLeft(maxCount.toString().length);
}