Skip to content

Commit

Permalink
chore: Follow up join room
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Nov 19, 2024
1 parent 5fc75ac commit b6668ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pages/chat/chat_view.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'dart:ui' as ui;

import 'package:fluffychat/utils/localized_exception_extension.dart';
import 'package:flutter/material.dart';

import 'package:badges/badges.dart';
Expand Down Expand Up @@ -135,6 +136,7 @@ class ChatView extends StatelessWidget {
showFutureLoadingDialog(
context: context,
future: () => controller.room.join(),
exceptionContext: ExceptionContext.joinRoom,
);
}
final bottomSheetPadding = FluffyThemes.isColumnMode(context) ? 16.0 : 8.0;
Expand Down
1 change: 1 addition & 0 deletions lib/pages/chat_list/chat_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class ChatListController extends State<ChatList>
await room.join();
await waitForRoom;
},
exceptionContext: ExceptionContext.joinRoom,
);
if (joinResult.error != null) return;
}
Expand Down

0 comments on commit b6668ce

Please sign in to comment.