Skip to content

Conversation

@peachbits
Copy link
Contributor

@peachbits peachbits commented Nov 5, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

@Jon-edge Jon-edge force-pushed the matthew/earn-scene-error branch from 5b9dc05 to 3e41fbc Compare November 5, 2024 19:52
@peachbits peachbits force-pushed the matthew/earn-scene-error branch from 3e41fbc to 896cf7a Compare November 7, 2024 00:59
Copy link
Collaborator

@Jon-edge Jon-edge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with comment


if (wallet != null) {
out = out.filter(policy => [...policy.rewardAssets, ...policy.stakeAssets].some(asset => asset.pluginId === wallet.currencyInfo.pluginId))
if (pluginId != null) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wallet is still part of this StakePolicyFilterType. Should still support the
original behavior here by extracting the pluginId from the wallet, or else it's
confusing that there's a noop prop on the filter when you call filterStakePolicies

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

}

return filteredPolicies
return filterStakePolicies(policies, filter)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@peachbits peachbits force-pushed the matthew/earn-scene-error branch from 896cf7a to 2fa42a9 Compare November 11, 2024 21:27
@peachbits peachbits enabled auto-merge November 11, 2024 21:28
@peachbits peachbits merged commit 4f69faa into develop Nov 11, 2024
@peachbits peachbits deleted the matthew/earn-scene-error branch November 11, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants