mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 16:25:17 +00:00
Fix state consistency issue
This commit is contained in:
@ -348,10 +348,12 @@ class _CallScreenState extends SafeState<CallScreen> {
|
||||
}
|
||||
|
||||
/// Handles menu selection
|
||||
void _handleSelectedMenuOption(_PopupMenuOption option) {
|
||||
void _handleSelectedMenuOption(_PopupMenuOption option) async {
|
||||
switch (option) {
|
||||
// Stop streaming
|
||||
case _PopupMenuOption.STOP_STREAMING:
|
||||
_stopStreaming();
|
||||
await _stopStreaming();
|
||||
setState(() {});
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user