This reduces the native code in favor of another library so there is less to maintain.

This commit is contained in:
Robin Krom 2021-01-10 10:33:53 +01:00
parent e174a9a36b
commit 24c9b8fb36
20 changed files with 42 additions and 1108 deletions

View file

@ -198,7 +198,7 @@ namespace Greenshot.Helpers
{
var notificationService = SimpleServiceProvider.Current.GetInstance<INotificationService>();
var message = Language.GetFormattedString(LangKey.update_found, newVersion.ToString());
notificationService.ShowInfoMessage(message, 10000, () => Process.Start(Downloads.AbsoluteUri));
notificationService.ShowInfoMessage(message, TimeSpan.FromHours(1), () => Process.Start(Downloads.AbsoluteUri));
}
/// <summary>