diff --git a/lib/widgets/chat_page/html/mention_chip.dart b/lib/widgets/chat_page/html/mention_chip.dart
index f8fdab1..e2c5003 100644
--- a/lib/widgets/chat_page/html/mention_chip.dart
+++ b/lib/widgets/chat_page/html/mention_chip.dart
@@ -15,9 +15,11 @@ class MentionChip extends StatelessWidget {
),
),
backgroundColor: Theme.of(context).colorScheme.primary,
- onPressed: () {
- // TODO: Open room or join room dialog, or user popover
- showAboutDialog(context: context);
- },
+ onPressed: () => showDialog(
+ context: context,
+ builder: (_) => Dialog(
+ child: Text("TODO: Open room or join room dialog, or user popover"),
+ ), // TODO
+ ),
);
}
diff --git a/lib/widgets/chat_page/room_chat.dart b/lib/widgets/chat_page/room_chat.dart
index 4a7f374..0d57663 100644
--- a/lib/widgets/chat_page/room_chat.dart
+++ b/lib/widgets/chat_page/room_chat.dart
@@ -500,9 +500,14 @@ class RoomChat extends HookConsumerWidget {
required bool isSentByMe,
MessageGroupStatus? groupStatus,
}) => InkWell(
- onTap: () => showAboutDialog(
+ onTap: () => showDialog(
context: context,
- ), // TODO: Download
+ builder: (_) => Dialog(
+ child: Text(
+ "TODO: Download Attachments", // TODO
+ ),
+ ),
+ ),
child: FlyerChatFileMessage(
topWidget: TopWidget(
message,
diff --git a/lib/widgets/chat_page/top_widget.dart b/lib/widgets/chat_page/top_widget.dart
index 733dcc7..7831cb9 100644
--- a/lib/widgets/chat_page/top_widget.dart
+++ b/lib/widgets/chat_page/top_widget.dart
@@ -51,8 +51,12 @@ class TopWidget extends ConsumerWidget {
return Padding(
padding: EdgeInsets.only(bottom: 12),
child: InkWell(
- // TODO: Scroll to original message
- onTap: () => showAboutDialog(context: context),
+ onTap: () => showDialog(
+ context: context,
+ builder: (_) => Dialog(
+ child: Text("TODO: Scroll to original message"),
+ ), // TODO
+ ),
child: Quoted(
Row(
mainAxisSize: MainAxisSize.min,
@@ -91,8 +95,11 @@ class TopWidget extends ConsumerWidget {
groupStatus?.isFirst != false ||
message.metadata?["reply"] != null)
InkWell(
- onTap: () =>
- showAboutDialog(context: context), // TODO: Show user profile
+ onTap: () => showDialog(
+ context: context,
+ builder: (_) =>
+ Dialog(child: Text("TODO: Show user profile")), // TODO
+ ),
child: Row(
mainAxisSize: MainAxisSize.min,
spacing: 8,