Browse Source

dev dark mode

marinofaggiana 5 years ago
parent
commit
e80b708f80
1 changed files with 4 additions and 0 deletions
  1. 4 0
      iOSClient/ScanDocument/ScanCollectionView.swift

+ 4 - 0
iOSClient/ScanDocument/ScanCollectionView.swift

@@ -61,14 +61,18 @@ class DragDropViewController: UIViewController {
     override func viewDidLoad() {
         super.viewDidLoad()
         
+        self.view.backgroundColor = NCBrandColor.sharedInstance.backgroundView
+        
         collectionViewSource.dragInteractionEnabled = true
         collectionViewSource.dragDelegate = self
         collectionViewSource.dropDelegate = self
+        collectionViewSource.backgroundColor = NCBrandColor.sharedInstance.backgroundView
         
         collectionViewDestination.dragInteractionEnabled = true
         collectionViewDestination.dropDelegate = self
         collectionViewDestination.dragDelegate = self
         collectionViewDestination.reorderingCadence = .fast //default value - .immediate
+        collectionViewDestination.backgroundColor = NCBrandColor.sharedInstance.backgroundView
         
         self.navigationItem.title = NSLocalizedString("_scanned_images_", comment: "")
         cancel.title = NSLocalizedString("_cancel_", comment: "")