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(
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),
),
],