@ -55,9 +55,10 @@ class AppDelegate : NSObject, UIApplicationDelegate, UNUserNotificationCenterDel
StoreCenter.main.forceNoSynchronization = !synchronized
}
func applicationWillEnterForeground(_ application: UIApplication) {
Task {
try await Guard.main.refreshPurchasedAppleProducts()
await Guard.main.refreshPurchases()
@ -238,14 +238,9 @@ struct SubscriptionView: View {
fileprivate func _restore() {
do {
self.isRestoring = true
self.isRestoring = false
} catch {
Logger.error(error)