Skip to content

Commit

Permalink
chore: hide launch browser button if using custom windows webview
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Dec 2, 2024
1 parent 79df9e4 commit 0a3fb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/Assets/Scripts/AuthenticatedScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async void Start()
ShowOutput("Passport instance is null");
}

#if UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)
#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN))
LaunchBrowserButton.gameObject.SetActive(true);
#else
LaunchBrowserButton.gameObject.SetActive(false);
Expand Down

0 comments on commit 0a3fb99

Please sign in to comment.