enhance: use -B instead of -b to support creating worktree with existed branch (#205)

This commit is contained in:
leo 2024-06-28 09:37:43 +08:00
parent ac00d1a221
commit 8dfe882455
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -11,8 +11,6 @@ namespace SourceGit.Views
{
public Launcher()
{
InitializeComponent();
var layout = ViewModels.Preference.Instance.Layout;
WindowState = layout.LauncherWindowState;
@ -21,6 +19,8 @@ namespace SourceGit.Views
Width = layout.LauncherWidth;
Height = layout.LauncherHeight;
}
InitializeComponent();
}
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)