Browse Source

fix

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 3 years ago
parent
commit
2d10c3377d

+ 1 - 0
iOSClient/Menu/NCViewer+Menu.swift

@@ -30,6 +30,7 @@ extension NCViewer {
     func toggleMenu(viewController: UIViewController, metadata: tableMetadata, webView: Bool, imageIcon: UIImage?) {
 
         guard let metadata = NCManageDatabase.shared.getMetadataFromOcId(metadata.ocId) else { return }
+        
         var actions = [NCMenuAction]()
         var titleFavorite = NSLocalizedString("_add_favorites_", comment: "")
         if metadata.favorite { titleFavorite = NSLocalizedString("_remove_favorites_", comment: "") }

+ 1 - 0
iOSClient/ScanDocument/NCScanCollectionView.swift

@@ -109,6 +109,7 @@ class NCScanCollectionView: UIViewController {
     // MARK: Button Action
 
     @IBAction func cancelAction(sender: UIBarButtonItem) {
+        
         self.dismiss(animated: true, completion: nil)
     }