diff --git a/app/lib/features/chat/workspace/chat_workspace_surface.dart b/app/lib/features/chat/workspace/chat_workspace_surface.dart index 6fb9b7d6..d30f1f95 100644 --- a/app/lib/features/chat/workspace/chat_workspace_surface.dart +++ b/app/lib/features/chat/workspace/chat_workspace_surface.dart @@ -1,4 +1,6 @@ +import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; +import '../../../ui/adaptive/host.dart'; import 'chat_mobile_panes.dart'; import 'chat_mobile_peek_divider.dart'; import 'chat_pane_backdrop.dart'; @@ -30,7 +32,11 @@ Widget chatWorkspaceSurface({ clipBehavior: Clip.hardEdge, children: [ if (mobile != null) - ColoredBox(color: Theme.of(context).colorScheme.surface), + ColoredBox( + color: usesCupertinoHost(context) + ? CupertinoTheme.of(context).scaffoldBackgroundColor + : Theme.of(context).colorScheme.surface, + ), if (backdrop.image != null && mobile != null) AnimatedBuilder( animation: motion.animation,