marinofaggiana 4 years ago
parent
commit
0b3b8b9a73
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/Networking/NCNetworkingNotificationCenter.swift

+ 2 - 0
iOSClient/Networking/NCNetworkingNotificationCenter.swift

@@ -114,6 +114,7 @@ import Foundation
                         NCManageDatabase.sharedInstance.setLocalFile(ocId: metadata.ocId, offline: true)
                         NCManageDatabase.sharedInstance.setLocalFile(ocId: metadata.ocId, offline: true)
                         
                         
                     default:
                     default:
+                        
                         break
                         break
                     }
                     }
                             
                             
@@ -130,6 +131,7 @@ import Foundation
                         NCManageDatabase.sharedInstance.deleteLocalFile(predicate: NSPredicate(format: "ocId == %@", metadata.ocId))
                         NCManageDatabase.sharedInstance.deleteLocalFile(predicate: NSPredicate(format: "ocId == %@", metadata.ocId))
                         
                         
                     } else {
                     } else {
+                        
                         NCContentPresenter.shared.messageNotification("_download_file_", description: errorDescription, delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: errorCode)
                         NCContentPresenter.shared.messageNotification("_download_file_", description: errorDescription, delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: errorCode)
                     }
                     }
                 }
                 }