mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
Fix startup sequence
This commit is contained in:
1 parent
d46b62d3de
commit
811b991fcd
3 files changed
+10
-9
No files matched your search
@@ -52,7 +52,7 @@
|
||||
"location" : "https://github.com/leonboe1/LUI.git",
|
||||
"state" : {
|
||||
"branch" : "main",
|
||||
"revision" : "b1be835c12befddc3c5f678837a766d51db1bdc5"
|
||||
"revision" : "488af802e61ee2929f5dc4e21c4613d3f5402aca"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -124,7 +124,7 @@
|
||||
"location" : "https://github.com/siteline/swiftui-introspect",
|
||||
"state" : {
|
||||
"branch" : "main",
|
||||
"revision" : "379cbeb697ef528b24c56c59f77a8cfc394ae793"
|
||||
"revision" : "fe758545cf980ab1085779d4a321a50d33b00f61"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -87,13 +87,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
|
||||
if !Settings.sharedInstance.isEligibleForIap {
|
||||
log("[AppDelegate] Granting QuickDrop+ for old user")
|
||||
UserDefaults.standard.set(true, forKey: Settings.UserDefaultsKeys.plusVersionLegacy.rawValue)
|
||||
} else {
|
||||
if !fullVersion() {
|
||||
log("[AppDelegate] New user - QuickDrop+ not available")
|
||||
}
|
||||
else {
|
||||
log("[AppDelegate] QuickDrop+ available")
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -104,6 +97,13 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
|
||||
}
|
||||
|
||||
LUIInit(configuration: configuration)
|
||||
|
||||
if !fullVersion() {
|
||||
log("[AppDelegate] New user - QuickDrop+ not available")
|
||||
}
|
||||
else {
|
||||
log("[AppDelegate] QuickDrop+ available")
|
||||
}
|
||||
|
||||
UNUserNotificationCenter.current().delegate = self
|
||||
|
||||
|
||||
@@ -71,6 +71,7 @@ struct TutorialView: View {
|
||||
|
||||
#if DEBUG
|
||||
Button {
|
||||
IAPManager.sharedInstance.plusVersionState = false
|
||||
Settings.sharedInstance.deleteAllUserDefaults()
|
||||
} label: {
|
||||
Text("ResetAllSettings")
|
||||
|
||||
Reference in new issue
Block a user