Browse Source

fix delete

marinofaggiana 5 years ago
parent
commit
d8116a6781
1 changed files with 1 additions and 0 deletions
  1. 1 0
      iOSClient/Main/NCMainCommon.swift

+ 1 - 0
iOSClient/Main/NCMainCommon.swift

@@ -955,6 +955,7 @@ class NCMainCommon: NSObject, PhotoEditorDelegate, NCAudioRecorderViewController
                 if errorCode != 0 {
                 if errorCode != 0 {
                     NCContentPresenter.shared.messageNotification("_delete_", description: message, delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: errorCode)
                     NCContentPresenter.shared.messageNotification("_delete_", description: message, delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: errorCode)
                 }
                 }
+                completion(errorCode, message)
             }
             }
         }
         }
     }
     }