marinofaggiana před 3 roky
rodič
revize
4f61125739
2 změnil soubory, kde provedl 6 přidání a 3 odebrání
  1. 1 0
      Share/MainInterface.storyboard
  2. 5 3
      Share/NCShareExtension.swift

+ 1 - 0
Share/MainInterface.storyboard

@@ -75,6 +75,7 @@
                                                         <constraint firstAttribute="trailing" secondItem="rz6-pe-DB5" secondAttribute="trailing" constant="15" id="mZN-du-84X"/>
                                                     </constraints>
                                                 </tableViewCellContentView>
+                                                <inset key="separatorInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
                                             </tableViewCell>
                                         </prototypes>
                                         <connections>

+ 5 - 3
Share/NCShareExtension.swift

@@ -80,10 +80,12 @@ class NCShareExtension: UIViewController, NCListCellDelegate, NCEmptyDataSetDele
         
         // Empty
         emptyDataSet = NCEmptyDataSet.init(view: collectionView, offset: -50, delegate: self)
-
         separatorView.backgroundColor = NCBrandColor.shared.separator
-        tableView.separatorStyle = UITableViewCell.SeparatorStyle.none
-        tableView.backgroundColor = .clear
+        tableView.separatorColor = NCBrandColor.shared.separator
+        tableView.layer.borderColor = NCBrandColor.shared.separator.cgColor
+        tableView.layer.borderWidth = 1.0
+        tableView.layer.cornerRadius = 10.0
+        tableView.tableFooterView = UIView()
         createFolderLabel.text = NSLocalizedString("_create_folder_", comment: "")
         uploadButton.setTitle(NSLocalizedString("_save_files_", comment: ""), for: .normal)