浏览代码

Remove unintended event call to ReloadAsync()

Ruben 4 年之前
父节点
当前提交
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();
             };
             };
         }
         }
     }
     }