marinofaggiana 5 år sedan
förälder
incheckning
f229f0d9d4
1 ändrade filer med 7 tillägg och 0 borttagningar
  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()
     }