From 7c5de7e48c928afb7efc0e37aa2e2727329c2890 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 1 Nov 2024 12:22:47 +0800 Subject: [PATCH] enhance: do NOT restore fullscreen window on macOS Signed-off-by: leo --- src/Views/Launcher.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/Launcher.axaml.cs b/src/Views/Launcher.axaml.cs index f2fb38b8..b4a44868 100644 --- a/src/Views/Launcher.axaml.cs +++ b/src/Views/Launcher.axaml.cs @@ -78,7 +78,7 @@ namespace SourceGit.Views var state = ViewModels.Preference.Instance.Layout.LauncherWindowState; if (state == WindowState.Maximized || state == WindowState.FullScreen) - WindowState = state; + WindowState = WindowState.Maximized; } protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)