From 57af9b02a27206eb2cb58583705b6dff56272651 Mon Sep 17 00:00:00 2001 From: Sen66 <5496231+Sen66@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:28:45 +0200 Subject: [PATCH] Connection dialoge should be centered --- flutter/lib/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flutter/lib/main.dart b/flutter/lib/main.dart index 3df2e04b8a9d..d2bf553b3ef5 100644 --- a/flutter/lib/main.dart +++ b/flutter/lib/main.dart @@ -258,7 +258,7 @@ showCmWindow({bool isStartup = false}) async { ]); // ensure initial window size to be changed await windowManager.setSizeAlignment( - kConnectionManagerWindowSizeClosedChat, Alignment.topRight); + kConnectionManagerWindowSizeClosedChat, Alignment.center); _isCmReadyToShow = true; } else if (_isCmReadyToShow) { if (await windowManager.getOpacity() != 1) { @@ -266,7 +266,7 @@ showCmWindow({bool isStartup = false}) async { await windowManager.focus(); await windowManager.minimize(); //needed await windowManager.setSizeAlignment( - kConnectionManagerWindowSizeClosedChat, Alignment.topRight); + kConnectionManagerWindowSizeClosedChat, Alignment.center); windowOnTop(null); } }