replaced buttons with switches

This commit is contained in:
NicKoehler
2023-05-18 11:41:16 +02:00
parent 8706541aa9
commit ec4a95f906
5 changed files with 32 additions and 30 deletions

View File

@@ -203,11 +203,12 @@ class ChatModel with ChangeNotifier {
notifyListeners();
await windowManager.show();
await windowManager.setSizeAlignment(
kConnectionManagerWindowSize, Alignment.topRight);
kConnectionManagerWindowSizeClosedChat, Alignment.topRight);
} else {
requestChatInputFocus();
await windowManager.show();
await windowManager.setSizeAlignment(Size(600, 400), Alignment.topRight);
await windowManager.setSizeAlignment(
kConnectionManagerWindowSizeOpenChat, Alignment.topRight);
_isShowCMChatPage = !_isShowCMChatPage;
notifyListeners();
}