From 6bbafbd1addc0a9c9598e0de47c28f2762c7a6ec Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Fri, 24 Dec 2021 21:58:53 +0100 Subject: [PATCH] ui: Fix the icon --- lib/ui/pages/conversations.dart | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/lib/ui/pages/conversations.dart b/lib/ui/pages/conversations.dart index c9a9c456..f354ff2a 100644 --- a/lib/ui/pages/conversations.dart +++ b/lib/ui/pages/conversations.dart @@ -39,13 +39,20 @@ class ConversationsPage extends StatelessWidget { ) ), Spacer(), - Center( - child: InkWell( - // TODO: Implement - onTap: () {}, - // TODO: Find a better icon - child: Icon(Icons.menu) - ) + PopupMenuButton( + onSelected: (result) { + if (result == "TODO1") { + showNotImplementedDialog("settings", buildContext); + } + }, + icon: Icon(Icons.more_vert), + itemBuilder: (BuildContext context) => [ + // TODO: Use enum + PopupMenuItem( + value: "TODO1", + child: Text("Settings") + ) + ] ) ] )