🐛 Bug fixes

This commit is contained in:
2024-08-20 01:19:18 +08:00
parent 253cd1ecbd
commit 3ac510c4b1
6 changed files with 9 additions and 1 deletions

View File

@ -31,6 +31,7 @@ class ChannelCallIndicator extends StatelessWidget {
builder: (context) => ChatCallPrejoinPopup(
ongoingCall: ongoingCall,
channel: channel,
onJoin: onJoin,
),
);
}

View File

@ -11,11 +11,13 @@ import 'package:solian/providers/call.dart';
class ChatCallPrejoinPopup extends StatefulWidget {
final Call ongoingCall;
final Channel channel;
final Function onJoin;
const ChatCallPrejoinPopup({
super.key,
required this.ongoingCall,
required this.channel,
required this.onJoin,
});
@override
@ -56,6 +58,7 @@ class _ChatCallPrejoinPopupState extends State<ChatCallPrejoinPopup> {
context.showErrorDialog(e);
}
widget.onJoin();
setState(() => _isBusy = false);
}