mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 19:11:10 +00:00
Show review prompt only once
This commit is contained in:
1 parent
5f9104d4da
commit
b68e4a7345
2 files changed
+5
-5
No files matched your search
@@ -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";
|
||||
};
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user