Browse Source

Hiding Donate command in UWP

Source commit: 465b33d92f791067a008954d747a9f95989169de
Martin Prikryl 3 years ago
parent
commit
463f1ae567
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/forms/NonVisual.cpp

+ 1 - 1
source/forms/NonVisual.cpp

@@ -314,7 +314,7 @@ void __fastcall TNonVisualDataModule::ExplorerActionsUpdate(
   UPD(ForumPageAction, true)
   UPDACT(CheckForUpdatesAction, ShowUpdatesUpdate())
   UPD(UpdatesPreferencesAction, true)
-  UPD(DonatePageAction, true)
+  UPDEX1(DonatePageAction, true, DonatePageAction->Visible = !IsUWP())
   UPD(DownloadPageAction, true)
   UPDEX1(TipsAction, true, TipsAction->Visible = AnyTips())