From b10e084c5447aa91cb601a07d7ecf879f2c8d82c Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 13 Jan 2025 14:47:18 +0800 Subject: [PATCH] ux: context menu separator --- src/ViewModels/Repository.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ViewModels/Repository.cs b/src/ViewModels/Repository.cs index 209c66e1..b747556c 100644 --- a/src/ViewModels/Repository.cs +++ b/src/ViewModels/Repository.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Runtime.Intrinsics.Arm; using System.Text; using System.Text.Json; using System.Threading; @@ -1820,7 +1819,6 @@ namespace SourceGit.ViewModels DataContext = new BranchCompare(_fullpath, branch, _currentBranch) }); }; - menu.Items.Add(new MenuItem() { Header = "-" }); menu.Items.Add(compareWithHead); if (_localChangesCount > 0) @@ -1841,6 +1839,7 @@ namespace SourceGit.ViewModels }; menu.Items.Add(compareWithWorktree); } + menu.Items.Add(new MenuItem() { Header = "-" }); var delete = new MenuItem(); delete.Header = new Views.NameHighlightedTextBlock("BranchCM.Delete", name);