Browse Source

hide download button

Nattiden 1 year ago
parent
commit
f16b5f9c41
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Project/structures/components/VersionToolBar.xaml

+ 1 - 1
Project/structures/components/VersionToolBar.xaml

@@ -3,7 +3,7 @@ ${@IF|${args.HideLaunchButton}||
 <local:MyIconTextButton Text="启动" ToolTip="启动 ${version-id}" EventType="启动游戏"
 <local:MyIconTextButton Text="启动" ToolTip="启动 ${version-id}" EventType="启动游戏"
     EventData="${version-id}" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
     EventData="${version-id}" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
 }
 }
-${@IF|${args.HideDownloadButton}||
+${@IF|${args.ShowDownloadButton}|
 <local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
 <local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
     LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
     LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
 }
 }