mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-22 14:26:01 +00:00
WIP: Add abiity to receive using iOS app
This commit is contained in:
1 parent
608ab41c0b
commit
6ec3902788
13 files changed
+473
-214
No files matched your search
@@ -105,8 +105,13 @@ public enum UserDefaultsKeys: String, CaseIterable {
|
||||
|
||||
public func isPlusVersion() -> Bool {
|
||||
|
||||
#if os(macOS)
|
||||
// Enable full functionality if app distributed directly
|
||||
return DistributionDetector.isDirectDistributionEnabled || UserDefaults.standard.bool(forKey: UserDefaultsKeys.plusVersion.rawValue)
|
||||
#else
|
||||
// iOS
|
||||
return true
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user