Skip to content

Commit 0a3fb99

Browse files
committed
chore: hide launch browser button if using custom windows webview
1 parent 79df9e4 commit 0a3fb99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/Assets/Scripts/AuthenticatedScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async void Start()
5151
ShowOutput("Passport instance is null");
5252
}
5353

54-
#if UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)
54+
#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN))
5555
LaunchBrowserButton.gameObject.SetActive(true);
5656
#else
5757
LaunchBrowserButton.gameObject.SetActive(false);

0 commit comments

Comments
 (0)