disable some sidebar buttons that aren't done yet
This commit is contained in:
parent
388e09abb7
commit
6f6c5305cc
1 changed files with 6 additions and 8 deletions
|
|
@ -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),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue