diff --git a/Frontend-user/lib/finance.dart b/Frontend-user/lib/finance.dart index 4f81a7c..6ba4f84 100644 --- a/Frontend-user/lib/finance.dart +++ b/Frontend-user/lib/finance.dart @@ -144,8 +144,6 @@ class Finance extends StatelessWidget { } return Text(text); - //return Text( - // '${DateFormat("EEEE, dd. MMMM yyyy HH:mm", 'de_DE').format(transactions[index].datum)}: ${transactions[index].betrag / 100}€\n${transactions[index].beschreibung}'); } Icon getIcon(Art art) { diff --git a/Frontend-user/lib/main.dart b/Frontend-user/lib/main.dart index 2c4fe0c..d018574 100644 --- a/Frontend-user/lib/main.dart +++ b/Frontend-user/lib/main.dart @@ -82,8 +82,15 @@ class _MyHomePageState extends State { child: Text('Page $test'), ), Finance(), - const Text( - 'Hier könnten Einstellungen zu Darkmode mit shared_preferences und riverpod sein') + ListView(children: const [ + ListTile( + leading: Icon(Icons.dark_mode), + title: Text( + 'Hier könnten Einstellungen zu Darkmode mit shared_preferences und riverpod sein', + maxLines: 2, + ), + ) + ]) ][currentPageIndex], ); }