From abdcdd6f392986bc8b12cea35050cd3de7cbf8c8 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 12 Nov 2018 23:23:12 +0200 Subject: [PATCH] Dashboard --- lib/ui/dashboard/dashboard_chart.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/dashboard/dashboard_chart.dart b/lib/ui/dashboard/dashboard_chart.dart index f25223081..dcf612062 100644 --- a/lib/ui/dashboard/dashboard_chart.dart +++ b/lib/ui/dashboard/dashboard_chart.dart @@ -112,7 +112,7 @@ class _DashboardChartState extends State { formatNumber( dataGroup.total - dataGroup.previousTotal, context, currencyId: widget.currencyId); - final changePercent = (isIncrease ? '+' : '-') + + final changePercent = (isIncrease ? '+' : '') + formatNumber( dataGroup.total != 0 && dataGroup.previousTotal != 0 ? round(