diff --git a/src/ViewModels/Repository.cs b/src/ViewModels/Repository.cs index a2da4b2e..636921d3 100644 --- a/src/ViewModels/Repository.cs +++ b/src/ViewModels/Repository.cs @@ -294,10 +294,6 @@ namespace SourceGit.ViewModels { SearchedCommits = visible; } - public void ExitSearchMode() { - IsSearching = false; - } - public void SetWatcherEnabled(bool enabled) { if (_watcher != null) _watcher.SetEnabled(enabled); } diff --git a/src/Views/Repository.axaml b/src/Views/Repository.axaml index 4876121f..c707c760 100644 --- a/src/Views/Repository.axaml +++ b/src/Views/Repository.axaml @@ -25,6 +25,13 @@ + + + + @@ -53,13 +60,9 @@ VerticalAlignment="Center" Fill="{DynamicResource Brush.Border2}"/> - - - + @@ -70,10 +73,6 @@ IsVisible="{Binding SelectedViewIndex, Converter={x:Static c:IntConverters.IsZero}}" ToolTip.Tip="{DynamicResource Text.Histories.DisplayMode}"/> - - @@ -92,7 +91,12 @@ - + + + + @@ -141,12 +145,9 @@ - + - - @@ -345,61 +346,52 @@ - - - - - - - -