File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Assets/MoralisWeb3ApiSdk/Moralis/Moralis.WebGL/MoralisDotNet/Platform Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11using System ;
2- using System . Runtime . InteropServices ;
32using Moralis . WebGL . Platform . Abstractions ;
43
54namespace Moralis . WebGL . Platform
@@ -15,8 +14,8 @@ public class EnvironmentData : IEnvironmentData
1514 public static EnvironmentData Inferred => new EnvironmentData
1615 {
1716 TimeZone = TimeZoneInfo . Local . StandardName ,
18- OSVersion = RuntimeInformation . OSDescription != null ? RuntimeInformation . OSDescription : Environment . OSVersion . ToString ( ) ,
19- Platform = RuntimeInformation . FrameworkDescription != null ? RuntimeInformation . FrameworkDescription : ".NET"
17+ OSVersion = "unknown" , // WebGL doesn't know the OS
18+ Platform = ".NET"
2019 } ;
2120
2221 /// <summary>
You can’t perform that action at this time.
0 commit comments