style<Dashboard>: remove refresh button from toolbar, use F5 to reload repository's data instead

This commit is contained in:
leo 2021-06-18 09:31:13 +08:00
parent 4b9923b84c
commit 6311fa081e
3 changed files with 11 additions and 17 deletions

View file

@ -134,7 +134,7 @@ namespace SourceGit.Views {
if (Keyboard.IsKeyDown(Key.F5)) {
var dashboard = container.Get(tabs.Current) as Widgets.Dashboard;
if (dashboard != null) dashboard.Refresh(null, null);
if (dashboard != null) dashboard.Refresh();
e.Handled = true;
return;
}