marinofaggiana 6 năm trước cách đây
mục cha
commit
f229f0d9d4
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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()
     }