WIP ws messages, TODO backend receiving frontend messages
This commit is contained in:
@@ -120,22 +120,6 @@ class _JoinRoomHomeState extends ConsumerState<JoinRoomHome> {
|
||||
code: _codeController.text,
|
||||
),
|
||||
);
|
||||
// )
|
||||
// .whenData(
|
||||
// (response) {
|
||||
// if (response != null && response.uuid != null) {
|
||||
// logger.fine('Navigating to room ${response.uuid}');
|
||||
// // context.go('room/${response.uuid}');
|
||||
// } else {
|
||||
// ScaffoldMessenger.of(context).showSnackBar(
|
||||
// SnackBar(
|
||||
// content: Text('Unexpected error occurred.'),
|
||||
// backgroundColor: Colors.red,
|
||||
// ),
|
||||
// );
|
||||
// }
|
||||
// },
|
||||
// );
|
||||
} finally {
|
||||
setState(() => _isLoading = false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user