add landscape checks

This commit is contained in:
Tommy Chow 2025-09-29 20:16:21 -07:00
parent 3fe40e8273
commit 9ff61890a4
2 changed files with 13 additions and 4 deletions

View file

@ -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,
),

View file

@ -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: [