Added Chat context menu for chat 'mark as read', 'mark as unread', 'add to favorites', 'remove from favorites', 'leave conversation'
added Chat favorite badge and mark chat as read when entering it
This commit is contained in:
1 parent
16c251e4b1
commit
4ef21a362b
7 files changed
+239
-24
No files matched your search
@@ -25,8 +25,8 @@ class ConfirmDialog extends StatelessWidget {
|
||||
Navigator.of(context).pop();
|
||||
}, child: Text(cancelButton)),
|
||||
TextButton(onPressed: () {
|
||||
onConfirm();
|
||||
Navigator.of(context).pop();
|
||||
onConfirm();
|
||||
}, child: Text(confirmButton)),
|
||||
],
|
||||
);
|
||||
@@ -37,7 +37,7 @@ class ConfirmDialog extends StatelessWidget {
|
||||
context: context,
|
||||
builder: (context) => ConfirmDialog(
|
||||
title: "Link öffnen",
|
||||
content: "Möchtest du den folgenden Link öffnen?\n${url}",
|
||||
content: "Möchtest du den folgenden Link öffnen?\n$url",
|
||||
confirmButton: "Öffnen",
|
||||
onConfirm: () => launchUrl(Uri.parse(url), mode: LaunchMode.externalApplication),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user