diff --git a/lib/screens/channel/video_chat.dart b/lib/screens/channel/video_chat.dart index 6d3a40ee..c72319a4 100644 --- a/lib/screens/channel/video_chat.dart +++ b/lib/screens/channel/video_chat.dart @@ -199,7 +199,7 @@ class _VideoChatState extends State { SystemChrome.setEnabledSystemUIMode( SystemUiMode.manual, - overlays: [SystemUiOverlay.bottom, SystemUiOverlay.top], + overlays: SystemUiOverlay.values, ); return SafeArea( child: Column( @@ -228,9 +228,12 @@ class _VideoChatState extends State { void dispose() { _chatStore.dispose(); - SystemChrome.setEnabledSystemUIMode( - SystemUiMode.manual, - overlays: [SystemUiOverlay.bottom, SystemUiOverlay.top], + Future.delayed( + const Duration(milliseconds: 500), + () => SystemChrome.setEnabledSystemUIMode( + SystemUiMode.manual, + overlays: SystemUiOverlay.values, + ), ); super.dispose();