Skip to content

Commit

Permalink
^ Package selection not being nil on initial display
Browse files Browse the repository at this point in the history
  • Loading branch information
buresdv committed May 29, 2024
1 parent d861854 commit 83cc2ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cork/Views/Installation/Install Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct AddFormulaView: View
@EnvironmentObject var brewData: BrewDataStorage
@EnvironmentObject var appState: AppState

@State private var foundPackageSelection: UUID?
@State private var foundPackageSelection: UUID? = nil

@ObservedObject var searchResultTracker = SearchResultTracker()
@ObservedObject var installationProgressTracker = InstallationProgressTracker()
Expand Down
2 changes: 1 addition & 1 deletion Cork/Views/Installation/Sub-Views/Initial.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ struct InstallationInitialView: View
}
.onAppear
{
foundPackageSelection = .init()
foundPackageSelection = nil
}
}
}

0 comments on commit 83cc2ce

Please sign in to comment.