From a024ac674d0fb1b0b6ad5666b6b200af95e02830 Mon Sep 17 00:00:00 2001 From: Kima Date: Sat, 6 Apr 2024 18:04:29 +0200 Subject: [PATCH] changed 0.00 class average to ? --- refilc_mobile_ui/lib/common/widgets/statistics_tile.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refilc_mobile_ui/lib/common/widgets/statistics_tile.dart b/refilc_mobile_ui/lib/common/widgets/statistics_tile.dart index e7e3307..3e9070b 100644 --- a/refilc_mobile_ui/lib/common/widgets/statistics_tile.dart +++ b/refilc_mobile_ui/lib/common/widgets/statistics_tile.dart @@ -37,7 +37,7 @@ class StatisticsTile extends StatelessWidget { valueText = valueText.replaceAll(".", ","); } - if (value.isNaN) { + if (value.isNaN || value == 0) { valueText = "?"; }