Просмотр исходного кода

Remove unintended event call to ReloadAsync()

Ruben 4 лет назад
Родитель
Сommit
2f2af80de6
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      PicView/Views/UserControls/Buttons/InfoButton.xaml.cs

+ 0 - 2
PicView/Views/UserControls/Buttons/InfoButton.xaml.cs

@@ -35,8 +35,6 @@ namespace PicView.Views.UserControls
                     ButtonMouseLeaveAnim(txtBrush);
                     ButtonMouseLeaveAnim(txtBrush);
                     AnimationHelper.MouseLeaveBgTexColor(TheButtonBrush);
                     AnimationHelper.MouseLeaveBgTexColor(TheButtonBrush);
                 };
                 };
-
-                TheButton.Click += async (_, _) => await Error_Handling.ReloadAsync();
             };
             };
         }
         }
     }
     }