Skip to content

Commit

Permalink
Show empty native token balance by default
Browse files Browse the repository at this point in the history
  • Loading branch information
skibitsky committed Jan 31, 2025
1 parent 8652e5f commit 1cd52ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="account-settings-view__profile-balance-container">
<ui:Label name="account-settings-view__profile-balance-value"/>
<ui:Label name="account-settings-view__profile-balance-value" text="0.000"/>
<ui:Label name="account-settings-view__profile-balance-symbol"/>
</ui:VisualElement>
<ui:VisualElement name="account-explorer-button-container">
Expand Down
3 changes: 2 additions & 1 deletion src/Reown.AppKit.Unity/Runtime/AppKitCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ protected override void OpenModalCore(ViewType viewType = ViewType.None)
}

var isConnectedToReownWallet = ConnectorController.ActiveConnector is ProfileConnector;
ModalController.Open(isConnectedToReownWallet ? ViewType.AccountPortfolio : ViewType.AccountSettings);
// ModalController.Open(isConnectedToReownWallet ? ViewType.AccountPortfolio : ViewType.AccountSettings);
ModalController.Open(ViewType.AccountSettings);
}
else
{
Expand Down

0 comments on commit 1cd52ae

Please sign in to comment.