From dff75100dfc2d23bcd5402036206e4180d60caa6 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Fri, 2 May 2025 15:57:10 -0400 Subject: [PATCH] chore: remove room from discovered list on join in space view (#2637) --- lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart b/lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart index 9087eb171..ae01ba770 100644 --- a/lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart +++ b/lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart @@ -65,7 +65,7 @@ class PangeaPublicRoomBottomSheetState notFoundError: L10n.of(context).notTheCodeError, ); if (!resp.isError) { - Navigator.of(context).pop(); + Navigator.of(context).pop(true); } } @@ -105,7 +105,7 @@ class PangeaPublicRoomBottomSheetState if (result.result != null) { _goToRoom(result.result!); - Navigator.of(context).pop(); + Navigator.of(context).pop(true); } }