1
0
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:
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
void _handleSelectedMenuOption(_PopupMenuOption option) {
void _handleSelectedMenuOption(_PopupMenuOption option) async {
switch (option) {
// Stop streaming
case _PopupMenuOption.STOP_STREAMING:
_stopStreaming();
await _stopStreaming();
setState(() {});
break;
}
}