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 - access accounts tracker via dependency #584

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

mormaer
Copy link
Contributor

@mormaer mormaer commented Sep 8, 2023

Checklist

  • I have read CONTRIBUTING.md
  • I have described what this PR contains
  • This PR addresses one or more open issues that were assigned to me:
    - No issue, just noticed it and it'd crash if we ever access it 🙈
  • If this PR alters the UI, I have attached pictures/videos

Pull Request Information

About this Pull Request

This (tiny) PR just updates the DeleteAccountView to access the accounts tracker via @Dependency instead of @EnvironmentObject. The change made in #554 means that there is no accounts tracker in the environment so attempting to access it this way will crash the app.

This has snuck through as the work in #554 happened on dev before the delete account changes from master were re-integrated the other day in #573.

@mormaer mormaer requested a review from a team as a code owner September 8, 2023 07:06
@mormaer mormaer requested review from JakeShirley and EricBAndrews and removed request for a team September 8, 2023 07:06
@mormaer mormaer enabled auto-merge (squash) September 8, 2023 07:06
@mormaer mormaer force-pushed the fix-access_to_accounts_tracker branch from feadf13 to 37dac98 Compare September 8, 2023 13:47
Copy link
Member

@JakeShirley JakeShirley left a comment

Choose a reason for hiding this comment

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

Good catch! Wish this could be found at compile time some how.

@mormaer mormaer merged commit 77ae981 into dev Sep 8, 2023
@mormaer mormaer deleted the fix-access_to_accounts_tracker branch September 8, 2023 22: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