diff --git a/lib/widgets/public_room_bottom_sheet.dart b/lib/widgets/public_room_bottom_sheet.dart index a1c0fd7af..adee798e1 100644 --- a/lib/widgets/public_room_bottom_sheet.dart +++ b/lib/widgets/public_room_bottom_sheet.dart @@ -227,7 +227,7 @@ class PublicRoomBottomSheetState extends State { ], ), // #Pangea - if (!_isRoomMember) + if (!_isRoomMember && chunk?.roomType == 'm.space') Padding( padding: const EdgeInsets.symmetric(horizontal: 16.0), child: TextField( @@ -242,7 +242,7 @@ class PublicRoomBottomSheetState extends State { ), ), ), - if (!_isRoomMember) + if (!_isRoomMember && chunk?.roomType == 'm.space') Padding( padding: const EdgeInsets.symmetric( horizontal: 16.0, @@ -256,7 +256,7 @@ class PublicRoomBottomSheetState extends State { icon: const Icon(Icons.navigate_next), ), ), - if (!_isRoomMember) + if (!_isRoomMember && chunk?.roomType == 'm.space') Padding( padding: const EdgeInsets.symmetric(horizontal: 16.0), child: Row(