Show Nym mixnet warning in stake/unstake/claim scenes#5995
Merged
Conversation
2f6398a to
2018c48
Compare
samholmes
approved these changes
Apr 20, 2026
2018c48 to
b21d0a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
none
Requirements
If you have made any visual changes to the GUI. Make sure you have:
Description
Asana task
Asana: Earn - Nym Mixnet warning
Adds the existing Nym mixnet warning (already used in the Send scene) to the Stake, Unstake, and Claim Rewards scenes so users are informed that staking transactions may take longer to broadcast when Nym mixnet is active.
isNymActivederived fromwallet.currencyConfig.userSettings(same pattern asSendScene2).lstrings.settings_nym_mixnet_warning_title/settings_nym_mixnet_warning_bodyviaAlertCardUi4wrapped inEdgeAnim.StakeModifyScenehandlesstake,unstake, andclaimmodes viaroute.params.modification, so a single insertion covers all three scenes.StakeModifySceneComponenttoReact.FC<Props>to clear a pre-existing lint warning in the same file (separate commit).Note
Low Risk
Low risk UI-only change that conditionally renders an additional warning card based on
userSettings.networkPrivacy; no transaction construction or staking logic changes.Overview
Adds a conditional Nym Mixnet warning to
StakeModifySceneso users see a delay notice when performing stake, unstake, or claim rewards while Nym network privacy is enabled.Implements
isNymActiveby watchingwallet.currencyConfig.userSettingsand renders the existing localized warning copy viaAlertCardUi4(animated withEdgeAnim) above the confirmation slider, with minor spacing tweaks. UpdatesCHANGELOG.mdaccordingly.Reviewed by Cursor Bugbot for commit b21d0a9. Bugbot is set up for automated code reviews on this repo. Configure here.