Make capacity button action null for students
This commit is contained in:
parent
1f73058fb4
commit
0da687a3f3
1 changed files with 1 additions and 2 deletions
|
|
@ -72,8 +72,7 @@ class RoomCapacityButtonState extends State<RoomCapacityButton> {
|
|||
return Column(
|
||||
children: [
|
||||
ListTile(
|
||||
onTap: () =>
|
||||
((widget.room?.isRoomAdmin ?? true) ? (setRoomCapacity()) : null),
|
||||
onTap: (widget.room?.isRoomAdmin ?? true) ? setRoomCapacity : null,
|
||||
leading: CircleAvatar(
|
||||
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
foregroundColor: iconColor,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue