mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 14:59:22 +00:00
Fix state consistency issue
This commit is contained in:
parent
8609e4e169
commit
a16618bb51
@ -348,10 +348,12 @@ class _CallScreenState extends SafeState<CallScreen> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Handles menu selection
|
/// Handles menu selection
|
||||||
void _handleSelectedMenuOption(_PopupMenuOption option) {
|
void _handleSelectedMenuOption(_PopupMenuOption option) async {
|
||||||
switch (option) {
|
switch (option) {
|
||||||
|
// Stop streaming
|
||||||
case _PopupMenuOption.STOP_STREAMING:
|
case _PopupMenuOption.STOP_STREAMING:
|
||||||
_stopStreaming();
|
await _stopStreaming();
|
||||||
|
setState(() {});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user