mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 08:23:01 +08:00
add chatbox border
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
84d7115e36
commit
89b3e68788
@ -32,7 +32,7 @@ class DraggableChatWindow extends StatelessWidget {
|
|||||||
width: width,
|
width: width,
|
||||||
height: height,
|
height: height,
|
||||||
builder: (context, onPanUpdate) {
|
builder: (context, onPanUpdate) {
|
||||||
return isIOS
|
final child = isIOS
|
||||||
? ChatPage(chatModel: chatModel)
|
? ChatPage(chatModel: chatModel)
|
||||||
: Scaffold(
|
: Scaffold(
|
||||||
resizeToAvoidBottomInset: false,
|
resizeToAvoidBottomInset: false,
|
||||||
@ -44,6 +44,10 @@ class DraggableChatWindow extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
body: ChatPage(chatModel: chatModel),
|
body: ChatPage(chatModel: chatModel),
|
||||||
);
|
);
|
||||||
|
return Container(
|
||||||
|
decoration:
|
||||||
|
BoxDecoration(border: Border.all(color: MyTheme.border)),
|
||||||
|
child: child);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user