Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Jan 17, 2025
1 parent 30d68c1 commit 7862c1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TrueWidget/swift/Views/BundlePickerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ struct BundlePickerView: View {
) { result in
if let url = try? result.get().first {
HelperClient.shared.proxy?.bundleVersions(paths: [url.path]) { versions in
// Update path on the main thread, as it could be an object observed by the view.
Task { @MainActor in
if versions[url.path] != nil {
path = url.path
Expand Down

0 comments on commit 7862c1b

Please sign in to comment.