indicate UWP app in context menu

This commit is contained in:
Paddy Xu
2017-07-21 19:36:49 +03:00
parent a370b8a7e1
commit ea15722629

View File

@@ -48,7 +48,7 @@ namespace QuickLook
Visible = true,
ContextMenu = new ContextMenu(new[]
{
new MenuItem($"v{Application.ProductVersion}") {Enabled = false},
new MenuItem($"v{Application.ProductVersion}{(App.IsUWP ? " (UWP)" : "")}") {Enabled = false},
new MenuItem("-"),
new MenuItem(TranslationHelper.GetString("Icon_CheckUpdate"),
(sender, e) => Updater.CheckForUpdates()) {Enabled = !App.IsUWP},