ux: move some buttons to page switcher (#1370)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-05-28 10:18:34 +08:00
parent 2aac6779a5
commit 40bf69bff3
No known key found for this signature in database
16 changed files with 48 additions and 44 deletions

View file

@ -272,12 +272,6 @@ namespace SourceGit.ViewModels
return menu;
}
public void Clear()
{
if (_repo.CanCreatePopup())
_repo.ShowPopup(new ClearStashes(_repo));
}
public void ClearSearchFilter()
{
SearchFilter = string.Empty;
@ -303,8 +297,8 @@ namespace SourceGit.ViewModels
}
private Repository _repo = null;
private List<Models.Stash> _stashes = new List<Models.Stash>();
private List<Models.Stash> _visibleStashes = new List<Models.Stash>();
private List<Models.Stash> _stashes = [];
private List<Models.Stash> _visibleStashes = [];
private string _searchFilter = string.Empty;
private Models.Stash _selectedStash = null;
private List<Models.Change> _changes = null;