mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-07 11:15:49 -06:00
Removed unused files, code cleanup
This commit is contained in:
6
lib/helpers/format_helpers.dart
Normal file
6
lib/helpers/format_helpers.dart
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user