Skip to content

Commit

Permalink
Merge pull request #33 from ersagunkuruca/patch-1
Browse files Browse the repository at this point in the history
Change usages of ToLower into ToLowerInvariant
  • Loading branch information
chaitanyapotti authored Jan 12, 2024
2 parents 37b0d66 + ca88e8c commit 5f89d13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Assets/Plugins/Web3AuthSDK/Web3Auth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ public void Awake()
this.initParams = new Dictionary<string, object>();

this.initParams["clientId"] = clientId;
this.initParams["network"] = network.ToString().ToLower();
this.initParams["network"] = network.ToString().ToLowerInvariant();

if (!string.IsNullOrEmpty(redirectUri))
this.initParams["redirectUrl"] = redirectUri;

Application.deepLinkActivated += onDeepLinkActivated;
if (!string.IsNullOrEmpty(Application.absoluteURL))
onDeepLinkActivated(Application.absoluteURL);
onDeepLinkActivated(Application.absoluteURL);C

#if UNITY_EDITOR
Web3AuthSDK.Editor.Web3AuthDebug.onURLRecieved += (Uri url) =>
Expand Down Expand Up @@ -112,9 +112,9 @@ public void setOptions(Web3AuthOptions web3AuthOptions)
this.initParams["clientId"] = this.web3AuthOptions.clientId;

if (this.web3AuthOptions.buildEnv != null)
this.initParams["buildEnv"] = this.web3AuthOptions.buildEnv.ToString().ToLower();
this.initParams["buildEnv"] = this.web3AuthOptions.buildEnv.ToString().ToLowerInvariant();

this.initParams["network"] = this.web3AuthOptions.network.ToString().ToLower();
this.initParams["network"] = this.web3AuthOptions.network.ToString().ToLowerInvariant();

if (this.web3AuthOptions.useCoreKitKey.HasValue)
this.initParams["useCoreKitKey"] = this.web3AuthOptions.useCoreKitKey.Value;
Expand Down

0 comments on commit 5f89d13

Please sign in to comment.