diff --git a/lib/views/home/new_statistic/new_statistic.dart b/lib/views/home/new_statistic/new_statistic.dart index af3ee07..534217d 100644 --- a/lib/views/home/new_statistic/new_statistic.dart +++ b/lib/views/home/new_statistic/new_statistic.dart @@ -233,7 +233,9 @@ class StatMainCard extends StatelessWidget { 'label': statistic.label, 'title': statistic.title, 'marked': statistic.marked, - }).then((value) => state.getStatistic()) + }).then( + (value) => state.getStatistic(), + ) : null, child: Padding( padding: const EdgeInsets.all(4.0),