Skip to content

Commit

Permalink
using remote data rather than local for what's new
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush9029 committed Oct 28, 2021
1 parent e63d721 commit cf4feac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file not shown.
4 changes: 3 additions & 1 deletion NativeTwitch/View Model/AutoUpdater.swift
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ class AutoUpdater: ObservableObject {

// Parse the JSON data
let result = try JSONDecoder().decode(UpdateModel.self, from: data)

DispatchQueue.main.sync {
self.updates = result
}
return result
}

Expand Down

0 comments on commit cf4feac

Please sign in to comment.