disable some sidebar buttons that aren't done yet

This commit is contained in:
Henry Hiles 2026-04-01 10:15:34 -04:00
commit 6f6c5305cc
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

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