Remove bottom safe area in theater mode
This commit is contained in:
parent
388732244d
commit
e6e7268241
1 changed files with 4 additions and 4 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue