marinofaggiana 5 年之前
父节点
当前提交
481295cce3
共有 1 个文件被更改,包括 1 次插入9 次删除
  1. 1 9
      iOSClient/Utility/CCUtility.m

+ 1 - 9
iOSClient/Utility/CCUtility.m

@@ -689,15 +689,7 @@
 
 + (BOOL)getMOVLivePhoto
 {
-    NSString *valueString = [UICKeyChainStore stringForKey:@"movLivePhoto" service:k_serviceShareKeyChain];
-    
-    // Default TRUE
-    if (valueString == nil) {
-        [self setFormatCompatibility:YES];
-        return true;
-    }
-    
-    return [valueString boolValue];
+    return [[UICKeyChainStore stringForKey:@"movLivePhoto" service:k_serviceShareKeyChain] boolValue];
 }
 
 + (void)setMOVLivePhoto:(BOOL)set