Skip to content

Commit 239aefd

Browse files
committed
style: fix lint issues
1 parent 597678b commit 239aefd

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

sample/Assets/Scripts/AuthenticatedScript.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ public class AuthenticatedScript : MonoBehaviour
2929
[SerializeField] private Button RequestAccountsButton;
3030
[SerializeField] private Button GetBalanceButton;
3131
[SerializeField] private Button GetTransactionReceiptButton;
32-
[SerializeField] private Button SignTypedDataButton;
33-
34-
// Other
32+
[SerializeField] private Button SignTypedDataButton;
33+
34+
// Other
3535
[SerializeField] private Button LaunchBrowserButton;
3636

3737
private Passport Passport;
@@ -49,8 +49,8 @@ async void Start()
4949
else
5050
{
5151
ShowOutput("Passport instance is null");
52-
}
53-
52+
}
53+
5454
#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN))
5555
LaunchBrowserButton.gameObject.SetActive(true);
5656
#else
@@ -409,12 +409,12 @@ public void ShowZkEvmGetTransactionReceipt()
409409
public void ShowZkEvmSignTypedData()
410410
{
411411
SceneManager.LoadScene("ZkEvmSignTypedData");
412-
}
413-
412+
}
413+
414414
#endregion
415-
415+
416416
#region Other
417-
417+
418418
/// <summary>
419419
/// Clears the underlying WebView storage and cache, including any saved credentials.
420420
/// </summary>
@@ -435,18 +435,18 @@ public void ClearStorageAndCache()
435435
public void ShowSetCallTimeout()
436436
{
437437
SceneManager.LoadScene("SetCallTimeout");
438-
}
439-
438+
}
439+
440440
/// <summary>
441441
/// Navigates to Launch Browser scene.
442442
/// </summary>
443443
public void LaunchBrowser()
444444
{
445445
SceneManager.LoadScene("LaunchBrowser");
446-
}
447-
446+
}
447+
448448
#endregion
449-
449+
450450
/// <summary>
451451
/// Prints the specified <code>message</code> to the output box.
452452
/// </summary>

sample/Assets/Scripts/Other/LaunchBrowserScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
public class LaunchBrowserScript : MonoBehaviour
55
{
6-
6+
77
/// <summary>
88
/// Navigates back to the authenticated scene.
99
/// </summary>

src/Packages/Passport/Runtime/Scripts/Public/Passport.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ public static UniTask<Passport> Init(
116116
{
117117
if (Instance == null)
118118
{
119-
PassportLogger.Info($"{TAG} Initialising Passport...");
120-
119+
PassportLogger.Info($"{TAG} Initialising Passport...");
120+
121121
#if UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)
122122
var obj = new GameObject("Passport");
123123
Instance = obj.AddComponent<Passport>();
@@ -207,7 +207,7 @@ private async UniTask Initialise(
207207
readySignalReceived = true;
208208
#else
209209
// Mark ready when browser is initialised and game bridge file is loaded
210-
communicationsManager.OnReady += () =>readySignalReceived = true;
210+
communicationsManager.OnReady += () => readySignalReceived = true;
211211
#endif
212212
// Set up Passport implementation
213213
passportImpl = new PassportImpl(communicationsManager);
@@ -221,8 +221,8 @@ private async UniTask Initialise(
221221
Instance = null;
222222
throw ex;
223223
}
224-
}
225-
224+
}
225+
226226
#if UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)
227227
private void Awake()
228228
{
@@ -237,7 +237,7 @@ private void Awake()
237237
}
238238
}
239239
#endif
240-
240+
241241
/// <summary>
242242
/// Sets the timeout time for waiting for each call to respond (in milliseconds).
243243
/// This only applies to functions that use the browser communications manager.

0 commit comments

Comments
 (0)