diff --git a/lib/view/pages/more/feedback/feedbackDialog.dart b/lib/view/pages/more/feedback/feedbackDialog.dart index 6bf2964..1af6289 100644 --- a/lib/view/pages/more/feedback/feedbackDialog.dart +++ b/lib/view/pages/more/feedback/feedbackDialog.dart @@ -12,24 +12,30 @@ class _FeedbackDialogState extends State { @override Widget build(BuildContext context) { return AlertDialog( + title: const Text("Feedback"), content: const Column( mainAxisSize: MainAxisSize.min, children: [ - Text("Bitte gib keine Daten wie z.B. Passwörter weiter."), - SizedBox(height: 20), + Text("Feedback, Anregungen, Ideen, Fehler und Verbesserungen"), + SizedBox(height: 10), + Text("Bitte gib keine geheimen Daten wie z.B. Passwörter weiter.", style: TextStyle(fontSize: 10)), + SizedBox(height: 10), TextField( + autofocus: true, decoration: InputDecoration( border: OutlineInputBorder(), label: Text("Feedback und Verbesserungen") ), - style: TextStyle(), + // style: TextStyle(), + // expands: true, minLines: 3, maxLines: 5, ) ], ), actions: [ + TextButton(onPressed: () => Navigator.of(context).pop(), child: const Text("Abbrechen")), TextButton( onPressed: () { diff --git a/lib/view/pages/more/overhang.dart b/lib/view/pages/more/overhang.dart index 3e4c367..2922144 100644 --- a/lib/view/pages/more/overhang.dart +++ b/lib/view/pages/more/overhang.dart @@ -43,7 +43,7 @@ class Overhang extends StatelessWidget { title: const Text("Du hast eine Idee?"), subtitle: const Text("Fehler und Verbessungsvorschläge"), trailing: const Icon(Icons.arrow_right), - onTap: () => showDialog(context: context, builder: (context) => const FeedbackDialog()), + onTap: () => showDialog(context: context, barrierDismissible: false, builder: (context) => const FeedbackDialog()), ) ], ), diff --git a/lib/view/settings/settings.dart b/lib/view/settings/settings.dart index 58d8abc..4d1630a 100644 --- a/lib/view/settings/settings.dart +++ b/lib/view/settings/settings.dart @@ -238,8 +238,8 @@ class _SettingsState extends State { ListTile( leading: const CenteredLeading(Icon(Icons.code)), - title: const Text("Quellcode der App"), - subtitle: const Text("Open Source GNU GPL v3"), + title: const Text("Quellcode MarianumMobile/Client"), + subtitle: const Text("open source GNU GPL v3"), onTap: () => ConfirmDialog.openBrowser(context, "https://mhsl.eu/gitea/MarianumMobile/Client"), ),