Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-yangy committed Sep 29, 2024
1 parent 0917c99 commit 152146f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Assets/Shared/Scripts/AddFunds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void Show()
m_CancelButton.onClick.AddListener(OnCancelButtonClicked);
gameObject.SetActive(true);
}

private async void OnFiatButtonClicked()
{
string environment = Immutable.Passport.Model.Environment.SANDBOX;
Expand All @@ -35,15 +35,15 @@ private async void OnFiatButtonClicked()
OnRamp onRamp = new OnRamp(environment, email, walletAddress.FirstOrDefault());
string link = await onRamp.GetLink();
Debug.Log($"onRamp.GetOnRampLink: {link}");

XsollaWebBrowser.Open(link);
}

private void OnTokenButtonClicked()
{
Application.OpenURL($"https://checkout-playground.sandbox.immutable.com/embedded/add-funds/?publishableKey=pk_imapik-test-Xdera%40&passportClientId={Config.CLIENT_ID}&redirectUri={Config.REDIRECT_URI}");
}

private void OnCancelButtonClicked()
{
gameObject.SetActive(false);
Expand Down

0 comments on commit 152146f

Please sign in to comment.