瀏覽代碼

dev dark mode

marinofaggiana 5 年之前
父節點
當前提交
e80b708f80
共有 1 個文件被更改,包括 4 次插入0 次删除
  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: "")