marinofaggiana hace 5 años
padre
commit
f229f0d9d4
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      iOSClient/Scan/ScanCollectionView.swift

+ 7 - 0
iOSClient/Scan/ScanCollectionView.swift

@@ -148,6 +148,13 @@ class DragDropViewController: UIViewController {
             }
         }
         
+        // Save button
+        if imagesDestination.count == 0 {
+            save.isEnabled = false
+        } else {
+            save.isEnabled = true
+        }
+        
         collectionViewDestination.reloadData()
     }