add landscape checks
This commit is contained in:
parent
3fe40e8273
commit
9ff61890a4
2 changed files with 13 additions and 4 deletions
|
|
@ -389,10 +389,18 @@ class _VideoChatState extends State<VideoChat>
|
|||
.dark
|
||||
.colorScheme
|
||||
.onSurface,
|
||||
shadows: settingsStore.fullScreen
|
||||
shadows: settingsStore.fullScreen && context.isLandscape
|
||||
? const [
|
||||
Shadow(blurRadius: 8),
|
||||
Shadow(blurRadius: 4, offset: Offset(1, 1)),
|
||||
Shadow(
|
||||
color: Colors.black,
|
||||
blurRadius: 8,
|
||||
offset: Offset(0, 0),
|
||||
),
|
||||
Shadow(
|
||||
color: Colors.black,
|
||||
blurRadius: 4,
|
||||
offset: Offset(1, 1),
|
||||
),
|
||||
]
|
||||
: null,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -74,7 +74,8 @@ class ChatBottomBar extends StatelessWidget {
|
|||
)
|
||||
.toList();
|
||||
|
||||
final isFullscreenOverlay = chatStore.settings.fullScreen;
|
||||
final isFullscreenOverlay =
|
||||
chatStore.settings.fullScreen && context.isLandscape;
|
||||
|
||||
final bottomBarContent = Column(
|
||||
children: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue