Show review prompt only once

This commit is contained in:
Leon Böttger committed 2025-07-25 15:04:34 +02:00
1 parent 5f9104d4da
commit b68e4a7345
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -915,8 +915,8 @@
MTL_FAST_MATH = YES; MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx; SDKROOT = macosx;
SHARED_BUILD = 50; SHARED_BUILD = 51;
SHARED_VERSION = 1.10.2; SHARED_VERSION = 1.10.3;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
}; };
@@ -974,8 +974,8 @@
MTL_ENABLE_DEBUG_INFO = NO; MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES; MTL_FAST_MATH = YES;
SDKROOT = macosx; SDKROOT = macosx;
SHARED_BUILD = 50; SHARED_BUILD = 51;
SHARED_VERSION = 1.10.2; SHARED_VERSION = 1.10.3;
SWIFT_COMPILATION_MODE = wholemodule; SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_OPTIMIZATION_LEVEL = "-O";
}; };
+1 -1
View File
@@ -436,7 +436,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
ErrorAlertHandler.shared.showErrorAlert(for: transfer.device.name, error: error) ErrorAlertHandler.shared.showErrorAlert(for: transfer.device.name, error: error)
} else { } else {
let currentCount = transmissionCount() let currentCount = transmissionCount()
if currentCount % 20 == 0 { if currentCount == 0 {
DispatchQueue.main.asyncAfter(deadline: .now() + 1) { DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
SKStoreReviewController.requestReview() SKStoreReviewController.requestReview()
} }