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) {