mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Added view more top items page
This commit is contained in:
parent
c81cbaa025
commit
576731b97f
5 changed files with 109 additions and 13 deletions
|
@ -24,15 +24,6 @@ int? convertFromBoolToInt(bool value) {
|
|||
}
|
||||
}
|
||||
|
||||
double formatPercentage(double value) {
|
||||
return (value * 100).truncateToDouble() / 100;
|
||||
}
|
||||
|
||||
String intFormat(int value, String locale) {
|
||||
final f = NumberFormat("#,###", locale);
|
||||
return f.format(value);
|
||||
}
|
||||
|
||||
List<Map<String, dynamic>> convertFromMapToList(Map<String, int> values) {
|
||||
List<Map<String, dynamic>> items = [];
|
||||
values.forEach((key, value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue