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 1
1
using System ;
2
- using System . Runtime . InteropServices ;
3
2
using Moralis . WebGL . Platform . Abstractions ;
4
3
5
4
namespace Moralis . WebGL . Platform
@@ -15,8 +14,8 @@ public class EnvironmentData : IEnvironmentData
15
14
public static EnvironmentData Inferred => new EnvironmentData
16
15
{
17
16
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"
20
19
} ;
21
20
22
21
/// <summary>
You can’t perform that action at this time.
0 commit comments