From b68e4a7345a8c755c399533f80717f51f9329517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6ttger?= Date: Fri, 25 Jul 2025 15:04:34 +0200 Subject: [PATCH] Show review prompt only once --- QuickDrop.xcodeproj/project.pbxproj | 8 ++++---- QuickDrop/AppDelegate.swift | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/QuickDrop.xcodeproj/project.pbxproj b/QuickDrop.xcodeproj/project.pbxproj index 0389fd3..e98c0b5 100644 --- a/QuickDrop.xcodeproj/project.pbxproj +++ b/QuickDrop.xcodeproj/project.pbxproj @@ -915,8 +915,8 @@ MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; - SHARED_BUILD = 50; - SHARED_VERSION = 1.10.2; + SHARED_BUILD = 51; + SHARED_VERSION = 1.10.3; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; @@ -974,8 +974,8 @@ MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; - SHARED_BUILD = 50; - SHARED_VERSION = 1.10.2; + SHARED_BUILD = 51; + SHARED_VERSION = 1.10.3; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; }; diff --git a/QuickDrop/AppDelegate.swift b/QuickDrop/AppDelegate.swift index c4fa493..65a2b76 100644 --- a/QuickDrop/AppDelegate.swift +++ b/QuickDrop/AppDelegate.swift @@ -436,7 +436,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele ErrorAlertHandler.shared.showErrorAlert(for: transfer.device.name, error: error) } else { let currentCount = transmissionCount() - if currentCount % 20 == 0 { + if currentCount == 0 { DispatchQueue.main.asyncAfter(deadline: .now() + 1) { SKStoreReviewController.requestReview() }