1
0
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:
Pierre HUBERT 2020-04-21 18:23:34 +02:00
parent 8609e4e169
commit a16618bb51

View File

@ -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;
} }
} }