Skip to content

Commit f76155b

Browse files
Display the last update check time on the reload button
Display the last update check time on the reload button of the Software Updates section. The time is displayed when after the update check is completed. #4604
1 parent 499cc03 commit f76155b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/UniGetUI/Pages/SoftwarePages/AbstractPackagesPage.xaml.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,10 @@ private void Loader_FinishedLoading(object? sender, EventArgs e)
527527
LoadingProgressBar.Visibility = Visibility.Collapsed;
528528
// Required to update UI labels
529529
LastPackageLoadTime = DateTime.Now;
530+
ToolTipService.SetToolTip(
531+
ReloadButton,
532+
CoreTools.Translate("Last checked: {0}", LastPackageLoadTime.ToString(CultureInfo.CurrentCulture))
533+
);
530534
UpdatePackageCount();
531535
WhenPackagesLoaded(ReloadReason.External);
532536
}

0 commit comments

Comments
 (0)