Remove bottom safe area in theater mode

This commit is contained in:
Tommy Chow 2022-01-17 18:34:04 -05:00
parent 388732244d
commit e6e7268241

View file

@ -63,14 +63,14 @@ class _VideoChatState extends State<VideoChat> {
return Scaffold(
body: OrientationBuilder(
builder: (_, orientation) {
builder: (context, orientation) {
if (orientation == Orientation.landscape) {
if (settingsStore.fullScreen) SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
return Observer(
builder: (_) => ColoredBox(
builder: (context) => ColoredBox(
color: settingsStore.showVideo ? Colors.black : Theme.of(context).scaffoldBackgroundColor,
child: SafeArea(
bottom: settingsStore.fullScreen ? false : true,
bottom: false,
child: settingsStore.showVideo
? settingsStore.fullScreen
? WillPopScope(