diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-08-18 21:59:18 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-08-18 21:59:18 +0200 |
| commit | 943b3cf23987612153239e8e89226a9af71d2e16 (patch) | |
| tree | aca2bd1000757b672b6f5a77fff7d69d131acaba /lib/pages/logbook_page.dart | |
| parent | 1799d1324a9425e2f0f11c143c0c37cb042b05a7 (diff) | |
move hardcoded values to config
Diffstat (limited to 'lib/pages/logbook_page.dart')
| -rw-r--r-- | lib/pages/logbook_page.dart | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/pages/logbook_page.dart b/lib/pages/logbook_page.dart index fb21c9a..be49ac8 100644 --- a/lib/pages/logbook_page.dart +++ b/lib/pages/logbook_page.dart @@ -124,6 +124,12 @@ class _LogbookPageState extends State<LogbookPage> { Widget getDataList() { var monthDataWidgets = createMonthDataWidgets(); + if (monthDataWidgets.isEmpty) { + return Center( + child: Text('Geen data beschikbaar'), + ); + } + return SafeArea( child: CustomScrollView( physics: null, |
