v1.1.22+52
All checks were successful
Flutter Schmutter / build (push) Successful in 3m39s

This commit is contained in:
2025-06-11 21:30:05 +02:00
parent 7981436374
commit 16ebc51e77
5 changed files with 20 additions and 12 deletions

View File

@ -10,6 +10,12 @@ class EndDrawer extends StatelessWidget {
const EndDrawer({super.key, required this.ref});
void _showMsg(String message, BuildContext context) {
ScaffoldMessenger.of(context)
..removeCurrentSnackBar()
..showSnackBar(SnackBar(content: Text(message)));
}
@override
Widget build(BuildContext context) {
return Drawer(
@ -105,14 +111,18 @@ class EndDrawer extends StatelessWidget {
),
],
),
ListTile(
title: const Text('Einstellungen'),
onTap: () {
Navigator.pop(context);
_showMsg('wip', context);
},
),
ListTile(
title: Text('v${AppVersion.version}'),
onTap: () {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text('jooong lass das, hier ist nichts'),
),
);
Navigator.pop(context);
_showMsg('jooong lass das, hier ist nichts', context);
},
),
],