chore: hide room capacity button in DMs (#2150)

This commit is contained in:
ggurdin 2025-03-17 12:36:15 -04:00 committed by GitHub
parent 69ea5f2e44
commit dacc4c3470
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,