From 6a3c8f6187d6e2bd100e9c489ce5d3af6d24c4ee Mon Sep 17 00:00:00 2001 From: RMBGAME Date: Thu, 29 Aug 2024 00:59:36 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E5=A4=9A=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=88=87=E6=8D=A2=E6=9A=82=E5=8F=AA=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/ViewModels/GameAccountPageViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BD.WTTS.Client.Plugins.GameAccount/UI/ViewModels/GameAccountPageViewModel.cs b/src/BD.WTTS.Client.Plugins.GameAccount/UI/ViewModels/GameAccountPageViewModel.cs index b2006f46cf2..a141c91c76b 100644 --- a/src/BD.WTTS.Client.Plugins.GameAccount/UI/ViewModels/GameAccountPageViewModel.cs +++ b/src/BD.WTTS.Client.Plugins.GameAccount/UI/ViewModels/GameAccountPageViewModel.cs @@ -94,11 +94,11 @@ public void LoadPlatforms() GamePlatforms?[0].LoadUsers(); var temp = GetSupportPlatforms(); - if (temp != null) + if (temp != null && OperatingSystem2.IsWindows()) { if (GameAccountSettings.EnablePlatforms.Any_Nullable()) { - AddGamePlatforms = new ObservableCollection(); + AddGamePlatforms = []; foreach (var p in temp) {