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

fix: historical rates regression & other fixes #656

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

Syn-McJ
Copy link
Member

@Syn-McJ Syn-McJ commented Jun 6, 2024

Issue being fixed or feature implemented

Transaction history should show "not available" for fiat values where rates weren't saved in the DB

What was done?

  • Take saved rates from DB and show "not available" if rates aren't saved
  • Fix button stretch for Toast
  • Fix overflow crash in the tax export
  • Some performance improvements for Transaction

How Has This Been Tested?

QA

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@Syn-McJ Syn-McJ requested a review from pankcuf June 6, 2024 08:19
@Syn-McJ Syn-McJ self-assigned this Jun 6, 2024
let currentAccount = DWEnvironment.sharedInstance().currentAccount
let account = accounts.contains(where: { ($0 as! DSAccount) == currentAccount }) ? currentAccount : nil

return account != nil ? chain.direction(of: self) : .notAccountFunds
Copy link
Member Author

@Syn-McJ Syn-McJ Jun 6, 2024

Choose a reason for hiding this comment

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

This doesn't seem necessary as chain.direction checks all accounts anyway and returns notAccountFunds for unrelated accounts.

Copy link
Collaborator

@pankcuf pankcuf left a comment

Choose a reason for hiding this comment

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

LGTM

@Syn-McJ Syn-McJ merged commit b719906 into dashpay:develop Jun 7, 2024
1 check passed
@Syn-McJ Syn-McJ deleted the fix/historical-rates branch June 7, 2024 11:59
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