mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Fix warning about using var
with a DispatchGroup
that is not mutated.
This commit is contained in:
parent
fd700737f8
commit
06b4f9660b
@ -69,7 +69,7 @@ public final class WidgetDataEncoder {
|
|||||||
|
|
||||||
@available(iOS 14, *)
|
@available(iOS 14, *)
|
||||||
private func encodeWidgetData(completion: @escaping (WidgetData?) -> Void) {
|
private func encodeWidgetData(completion: @escaping (WidgetData?) -> Void) {
|
||||||
var dispatchGroup = DispatchGroup()
|
let dispatchGroup = DispatchGroup()
|
||||||
var groupError: Error? = nil
|
var groupError: Error? = nil
|
||||||
|
|
||||||
var unread = [LatestArticle]()
|
var unread = [LatestArticle]()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user