Skip to content

Commit

Permalink
fix: HomeWidgetBackgroundWorker on iOS not setting Setup as completed (
Browse files Browse the repository at this point in the history
…#229)

Closes #219 Closes #207
  • Loading branch information
armandsLa committed Mar 5, 2024
1 parent e7d9831 commit 8b42df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/HomeWidgetBackgroundWorker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public struct HomeWidgetBackgroundWorker {
public static func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
switch call.method {
case "HomeWidget.backgroundInitialized":
isSetupCompleted = true
while !queue.isEmpty {
isSetupCompleted = true
let entry = queue.removeFirst()
Task {
await sendEvent(url: entry.0, appGroup: entry.1)
Expand Down

0 comments on commit 8b42df9

Please sign in to comment.