Add update button to about

This commit is contained in:
2021-12-20 13:14:00 -05:00
parent e609bebbbc
commit fbb797968d
6 changed files with 47 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
using Common.Update;
using System.Reflection;
using System.Windows;
namespace WorkIndicator.Options
{
@@ -32,5 +33,10 @@ namespace WorkIndicator.Options
}
public override string CategoryName => Properties.Resources.OptionCategory_About;
private async void HandleCheckForUpdateButtonClick(object sender, RoutedEventArgs e)
{
await UpdateCheck.CheckUpdate((status, message) => UpdateMessage.Content = message);
}
}
}