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 -------------------------------------------