From f2ae0fbaa9941932e7a466285c5e7cf3e79dee09 Mon Sep 17 00:00:00 2001 From: wyc-26 Date: Mon, 2 Jun 2025 12:20:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(PageDownloadCompDetail):=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=8E=9F=E7=89=88=E5=8F=AF=E7=94=A8=E7=9A=84=E5=85=89?= =?UTF-8?q?=E5=BD=B1=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA=E5=8F=AF=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E7=9A=84=E6=B8=B8=E6=88=8F=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb b/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb index 60a8ad3..1b03346 100644 --- a/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb +++ b/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb @@ -75,6 +75,8 @@ Dim Results As List(Of CompFile) = CompFileLoader.Output If PageType = CompType.Any Then Results = Results.Where(Function(r) r.Type <> CompType.Plugin).ToList + ElseIf PageType = CompType.Shader Then + Results = Results.ToList Else Results = Results.Where(Function(r) r.Type = PageType).ToList End If