Skip to content

Commit 8b42df9

Browse files
authored
fix: HomeWidgetBackgroundWorker on iOS not setting Setup as completed (#229)
Closes #219 Closes #207
1 parent e7d9831 commit 8b42df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Classes/HomeWidgetBackgroundWorker.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public struct HomeWidgetBackgroundWorker {
6868
public static func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
6969
switch call.method {
7070
case "HomeWidget.backgroundInitialized":
71+
isSetupCompleted = true
7172
while !queue.isEmpty {
72-
isSetupCompleted = true
7373
let entry = queue.removeFirst()
7474
Task {
7575
await sendEvent(url: entry.0, appGroup: entry.1)

0 commit comments

Comments
 (0)