marinofaggiana %!s(int64=5) %!d(string=hai) anos
pai
achega
dd1cfe0a74
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      iOSClient/Main/Menu/AppDelegate+Menu.swift

+ 1 - 1
iOSClient/Main/Menu/AppDelegate+Menu.swift

@@ -217,7 +217,7 @@ extension AppDelegate {
         }
         
         if let richdocumentsMimetypes = NCManageDatabase.sharedInstance.getRichdocumentsMimetypes(account: appDelegate.activeAccount) {
-            if richdocumentsMimetypes.count > 0 {
+            if richdocumentsMimetypes.count > 0 && appDelegate.reachability.isReachable() {
                 actions.append(
                     NCMenuAction(
                         title: NSLocalizedString("_create_new_document_", comment: ""),