marinofaggiana 4 年之前
父节点
当前提交
ca5c08f91a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      iOSClient/Settings/CCManageAccount.m

+ 2 - 0
iOSClient/Settings/CCManageAccount.m

@@ -115,6 +115,7 @@
         if (accounts.count == 0) row.disabled = @YES;
         [section addFormRow:row];
         
+#if TARGET_OS_SIMULATOR
         // Set user status
         if (@available(iOS 13.0, *)) {
             BOOL userStatus = [[NCManageDatabase sharedInstance] getCapabilitiesServerBoolWithAccount:accountActive.account elements:NCElementsJSON.shared.capabilitiesUserStatusEnabled exists:false];
@@ -130,6 +131,7 @@
                 [section addFormRow:row];
             }
         }
+#endif
     }
     
     // Section : USER INFORMATION -------------------------------------------