mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +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:
@@ -166,12 +166,12 @@ class ChatModel with ChangeNotifier {
|
||||
if (_isShowChatPage) {
|
||||
_isShowChatPage = !_isShowChatPage;
|
||||
notifyListeners();
|
||||
await windowManager.setSize(Size(400, 600));
|
||||
await windowManager.setSize(Size(300, 400));
|
||||
await windowManager.setAlignment(Alignment.topRight);
|
||||
} else {
|
||||
await windowManager.setSize(Size(800, 600));
|
||||
await windowManager.center();
|
||||
await windowManager.setSize(Size(600, 400));
|
||||
await Future.delayed(Duration(milliseconds: 100));
|
||||
await windowManager.setAlignment(Alignment.topRight);
|
||||
_isShowChatPage = !_isShowChatPage;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user