Skip to content

Commit d16b482

Browse files
authored
Improved connect wallet prefab (#87)
1 parent 2f33dc9 commit d16b482

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+13367
-5174
lines changed

Assets/Thirdweb/Core/Scripts/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public static string ShortenAddress(this string address)
9696
{
9797
if (address.Length != 42)
9898
throw new ArgumentException("Invalid Address Length.");
99-
return $"{address.Substring(0, 5)}...{address.Substring(39)}";
99+
return $"{address.Substring(0, 6)}...{address.Substring(38)}";
100100
}
101101

102102
public static bool IsWebGLBuild()

Assets/Thirdweb/Core/Scripts/Wallet.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ public WalletConnection(WalletProvider provider, BigInteger chainId, string pass
521521
/// <summary>
522522
/// Represents the available wallet providers.
523523
/// </summary>
524+
[System.Serializable]
524525
public enum WalletProvider
525526
{
526527
Metamask,

Assets/Thirdweb/Examples/Fonts.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)