chore: hide room capacity button in DMs (#2150)
This commit is contained in:
parent
69ea5f2e44
commit
dacc4c3470
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ class PangeaChatDetailsView extends StatelessWidget {
|
|||
room.isSpace &&
|
||||
room.spaceParents.isEmpty)
|
||||
Divider(color: theme.dividerColor, height: 1),
|
||||
if (!room.isSpace)
|
||||
if (!room.isSpace && !room.isDirectChat)
|
||||
RoomCapacityButton(
|
||||
room: room,
|
||||
controller: controller,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue