From 89b3e68788f34d47931c6b0c09b8721e321e77a3 Mon Sep 17 00:00:00 2001 From: 21pages Date: Sun, 9 Jul 2023 10:35:10 +0800 Subject: [PATCH] add chatbox border Signed-off-by: 21pages --- flutter/lib/common/widgets/overlay.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flutter/lib/common/widgets/overlay.dart b/flutter/lib/common/widgets/overlay.dart index 73210b5fe..a3c59d6b1 100644 --- a/flutter/lib/common/widgets/overlay.dart +++ b/flutter/lib/common/widgets/overlay.dart @@ -32,7 +32,7 @@ class DraggableChatWindow extends StatelessWidget { width: width, height: height, builder: (context, onPanUpdate) { - return isIOS + final child = isIOS ? ChatPage(chatModel: chatModel) : Scaffold( resizeToAvoidBottomInset: false, @@ -44,6 +44,10 @@ class DraggableChatWindow extends StatelessWidget { ), body: ChatPage(chatModel: chatModel), ); + return Container( + decoration: + BoxDecoration(border: Border.all(color: MyTheme.border)), + child: child); }); }