mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 21:41:51 +02:00
updating: do not update update_check date when we couldn't do it (#9038)
* updating: do not update update_check date when we couldn't do it - improve general settings page "Last Checked" feature
This commit is contained in:
@@ -56,6 +56,11 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
||||
string version = json.GetNamedString("version", string.Empty);
|
||||
bool isLatest = json.GetNamedBoolean("isVersionLatest", false);
|
||||
|
||||
if (json.ContainsKey("version"))
|
||||
{
|
||||
ViewModel.RequestUpdateCheckedDate();
|
||||
}
|
||||
|
||||
var str = string.Empty;
|
||||
if (isLatest)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user