mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 04:48:51 +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
|
||||
void _handleSelectedMenuOption(_PopupMenuOption option) {
|
||||
void _handleSelectedMenuOption(_PopupMenuOption option) async {
|
||||
switch (option) {
|
||||
// Stop streaming
|
||||
case _PopupMenuOption.STOP_STREAMING:
|
||||
_stopStreaming();
|
||||
await _stopStreaming();
|
||||
setState(() {});
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user