mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-15 20:45:52 +00:00
1. fix cm window size onToggle Chat.
2. no need to show remote info in cm chat_page. 3. hide Chat IconButton when client unauthorized 4. update lang
This commit is contained in:
@@ -62,6 +62,7 @@ class ChatPage extends StatelessWidget implements PageShape {
|
||||
inputOptions: InputOptions(
|
||||
sendOnEnter: true,
|
||||
inputDecoration: defaultInputDecoration(
|
||||
hintText: "${translate('Write a message')}...",
|
||||
fillColor: Theme.of(context).backgroundColor),
|
||||
sendButtonBuilder: defaultSendButton(
|
||||
color: Theme.of(context)
|
||||
@@ -87,7 +88,8 @@ class ChatPage extends StatelessWidget implements PageShape {
|
||||
)),
|
||||
);
|
||||
}),
|
||||
chatModel.currentID == ChatModel.clientModeID
|
||||
desktopType == DesktopType.cm ||
|
||||
chatModel.currentID == ChatModel.clientModeID
|
||||
? SizedBox.shrink()
|
||||
: Padding(
|
||||
padding: EdgeInsets.all(12),
|
||||
|
||||
Reference in New Issue
Block a user