From cc7049ccf409b8df190f021775964dad7cbcdeaa Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Sat, 7 Nov 2026 13:25:34 +0000 Subject: [PATCH] Match tape background to the Cupertino host theme --- .../features/chat/workspace/chat_workspace_surface.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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,