Skip to content

Commit

Permalink
fix - access accounts tracker via dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mormaer committed Sep 8, 2023
1 parent 5d82eb5 commit feadf13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mlem/Views/Shared/Accounts/DeleteAccountView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import Foundation
import SwiftUI

struct DeleteAccountView: View {
@Dependency(\.accountsTracker) var accountsTracker

@EnvironmentObject var appState: AppState
@EnvironmentObject var accountsTracker: SavedAccountTracker

@Environment(\.dismiss) var dismiss
@Environment(\.forceOnboard) var forceOnboard
Expand Down

0 comments on commit feadf13

Please sign in to comment.