-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: missing segwit badges #2545
Conversation
coin activation fails with an error message if there is no wallet/user signed in
WalkthroughThe changes introduce updates across three files. In the Changes
Sequence Diagram(s)sequenceDiagram
participant Caller as Coin Creator
participant Ext as AssetCoinExtension
Note over Ext: Determine coin mode based on coin ID
Caller->>Ext: Provide coin ID
Ext->>Ext: Check if coin ID (lowercase) contains "-segwit"
alt Contains "-segwit"
Ext->>Caller: Return CoinMode.segwit
else
Ext->>Caller: Return CoinMode.standard
end
sequenceDiagram
participant Caller as Activation Caller
participant Repo as CoinsRepo
participant Auth as Authentication SDK
Caller->>Repo: Call activateCoinsSync()/activateAssetsSync()
Repo->>Auth: Call isSignedIn()
Auth-->>Repo: Return authentication status
alt Not signed in
Repo->>Caller: Log skip message and exit activation
else Signed in
Repo->>Repo: Proceed with activation process
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Visit the preview URL for this PR (updated for commit 004734c): https://walletrc--pull-2545-merge-bv4swewi.web.app (expires Fri, 28 Feb 2025 11:28:37 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc |
fixes the lacking contrast with the input fields, as a lack of fill colour results in an input field with the same colour as the background (dark and light modes)
@coderabbitai review |
✅ Actions performedReview triggered.
|
The Segwit tag is visible for the coins. Also, the Add Button placement has been changed. The Coin's address can be directly copied from the dropdown directly. Working Properly |
Summary by CodeRabbit
-segwit
).