diff --git a/lib/widgets/chat_page/sidebar.dart b/lib/widgets/chat_page/sidebar.dart index 771a7ae..ee8134f 100644 --- a/lib/widgets/chat_page/sidebar.dart +++ b/lib/widgets/chat_page/sidebar.dart @@ -146,7 +146,7 @@ class Sidebar extends HookConsumerWidget { ), ), PopupMenuItem( - onTap: () {}, + onTap: null, child: ListTile( title: Text("Create a new room"), leading: Icon(Icons.add), @@ -157,17 +157,15 @@ class Sidebar extends HookConsumerWidget { ), IconButton( tooltip: "Explore other rooms", - onPressed: () => showDialog( - context: context, - builder: (context) => AlertDialog(title: Text("To-do")), - ), + onPressed: null, icon: Icon(Icons.explore), ), IconButton( tooltip: "Open settings", - onPressed: () => Navigator.of( - context, - ).push(MaterialPageRoute(builder: (_) => SettingsPage())), + onPressed: null, + // () => Navigator.of( + // context, + // ).push(MaterialPageRoute(builder: (_) => SettingsPage())), icon: Icon(Icons.settings), ), ],