Skip to content
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

Remove price-change push event subscription for deprecated currencies #4523

Merged
merged 11 commits into from
Oct 23, 2023

Conversation

samholmes
Copy link
Contributor

@samholmes samholmes commented Oct 10, 2023

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)

const { trigger } = event
if (trigger.type === 'price-change') {
const currencyInfo = activeCurrencyInfos.find(currencyInfo => currencyInfo.pluginId === trigger.pluginId)
if (currencyInfo == null || SPECIAL_CURRENCY_INFO[currencyInfo.pluginId].keysOnlyMode) {
Copy link
Member

Choose a reason for hiding this comment

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

Dont remove assets that aren't active as they may be in another account

@samholmes samholmes force-pushed the sam/bsv-notifications branch from 21e3e1e to 5f8b87c Compare October 23, 2023 21:13
@samholmes samholmes force-pushed the sam/bsv-notifications branch from 5f8b87c to 8b0cb3b Compare October 23, 2023 21:14
@samholmes samholmes merged commit 2ad14a5 into develop Oct 23, 2023
2 checks passed
@samholmes samholmes deleted the sam/bsv-notifications branch October 23, 2023 21:51
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.

2 participants