optimize<Dashboard>: remove refresh button (use F5 instead)

This commit is contained in:
leo 2022-10-25 17:23:26 +08:00
parent 975777c2f9
commit 83e8eb1ec8
2 changed files with 0 additions and 12 deletions

View file

@ -115,13 +115,6 @@
ToolTip="{DynamicResource Text.Dashboard.Statistics}"
Click="OpenStatistics"/>
<controls:IconButton
Margin="8,0"
Padding="0,9,0,8"
Icon="{DynamicResource Icon.Loading}"
ToolTip="{DynamicResource Text.Dashboard.Refresh}"
Click="TriggerRefresh"/>
<controls:IconButton
Margin="8,0"
Padding="0,8"

View file

@ -421,11 +421,6 @@ namespace SourceGit.Views.Widgets {
});
}
private void TriggerRefresh(object sender, RoutedEventArgs e) {
Refresh();
e.Handled = true;
}
private void OpenFetch(object sender, RoutedEventArgs e) {
if (repo.Remotes.Count == 0) {
Models.Exception.Raise("No remotes added to this repository!!!");