From 937edb440b48c76a57fc886c9143dccb15c216d4 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 29 Apr 2025 18:47:48 +0200 Subject: [PATCH] fix build --- PadelClub/AppDelegate.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PadelClub/AppDelegate.swift b/PadelClub/AppDelegate.swift index f48fff5..6381247 100644 --- a/PadelClub/AppDelegate.swift +++ b/PadelClub/AppDelegate.swift @@ -24,7 +24,9 @@ class AppDelegate : NSObject, UIApplicationDelegate, UNUserNotificationCenterDel } func applicationWillEnterForeground(_ application: UIApplication) { - Guard.main.refreshPurchasedAppleProducts() + Task { + try await Guard.main.refreshPurchasedAppleProducts() + } } // MARK: - Remote Notifications