mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-31 11:52:16 +00:00
Fix home top items type
This commit is contained in:
parent
44d7da9977
commit
246d14151a
1 changed files with 2 additions and 2 deletions
|
@ -92,9 +92,9 @@ class TopItemsSection extends StatelessWidget {
|
|||
|
||||
final List<Map<String, dynamic>> lineChartData = lineData();
|
||||
final mapData = lineChartData.map((e) => e["value"]);
|
||||
final List<dynamic> total = mapData.isNotEmpty
|
||||
final double total = mapData.isNotEmpty
|
||||
? mapData.reduce((a, b) => a + b)
|
||||
: [];
|
||||
: 0;
|
||||
|
||||
return SizedBox(
|
||||
child: Column(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue