Skip to content

Commit

Permalink
[Bug] [iOS] Item Editor Photo Upload - Coordinator Doesn't Dismiss (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
JPKribs authored Jan 26, 2025
1 parent 4ca7883 commit c9ae01e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ class ItemImagesViewModel: ViewModel, Stateful, Eventful {

try await self.uploadPhoto(image, type: type)
try await self.getAllImages()

await MainActor.run {
self.eventSubject.send(.updated)
}
} catch {
let apiError = JellyfinAPIError(error.localizedDescription)
await MainActor.run {
Expand Down

0 comments on commit c9ae01e

Please sign in to comment.