Added long press options to chatbubbles
This commit is contained in:
@ -86,16 +86,7 @@ class _WeekViewState extends State<WeekView> {
|
||||
ListTile(
|
||||
leading: const Icon(Icons.bug_report_outlined),
|
||||
title: const Text("Webuntis Rohdaten zeigen"),
|
||||
onTap: () => showDialog(context: context, builder: (context) {
|
||||
return AlertDialog(
|
||||
scrollable: true,
|
||||
title: const Text("Rohdaten"),
|
||||
content: Text(JsonViewer.format(timetableData.toJson())),
|
||||
actions: [
|
||||
TextButton(onPressed: () => Navigator.of(context).pop(), child: const SingleChildScrollView(child: Text("Schließen")))
|
||||
],
|
||||
);
|
||||
}),
|
||||
onTap: () => JsonViewer.asDialog(context, timetableData.toJson()),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
Reference in New Issue
Block a user