marinofaggiana 5 年 前
コミット
ef9e0efc11

+ 6 - 0
iOSClient/Main/Create cloud/NCCreateFormUploadConflict.storyboard

@@ -36,9 +36,15 @@
                                 <subviews>
                                     <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="08D-oc-nWS">
                                         <rect key="frame" x="0.0" y="0.0" width="51" height="31"/>
+                                        <connections>
+                                            <action selector="valueChangedSwitchNewFiles:" destination="30l-Wp-khL" eventType="valueChanged" id="vG9-tl-Ybg"/>
+                                        </connections>
                                     </switch>
                                     <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ge9-Fi-Rb1">
                                         <rect key="frame" x="340" y="0.0" width="51" height="31"/>
+                                        <connections>
+                                            <action selector="valueChangedSwitchAlreadyExistingFiles:" destination="30l-Wp-khL" eventType="valueChanged" id="yFJ-Ri-2WX"/>
+                                        </connections>
                                     </switch>
                                     <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="New files" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="H7Y-Nu-nJ3">
                                         <rect key="frame" x="0.0" y="36" width="63" height="24"/>

+ 7 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadConflict.swift

@@ -76,7 +76,12 @@ import Foundation
         buttonContinue.setTitle(NSLocalizedString("_continue_", comment: ""), for: .normal)
         buttonContinue.isEnabled = false
         buttonContinue.layer.backgroundColor = NCBrandColor.sharedInstance.graySoft.withAlphaComponent(0.5).cgColor
-
+    }
+    
+    @IBAction func valueChangedSwitchNewFiles(_ sender: Any) {
+    }
+    
+    @IBAction func valueChangedSwitchAlreadyExistingFiles(_ sender: Any) {
     }
 }
 
@@ -137,6 +142,7 @@ extension NCCreateFormUploadConflict: UITableViewDataSource {
 // MARK: - NCCreateFormUploadConflictCellDelegate
 
 extension NCCreateFormUploadConflict: NCCreateFormUploadConflictCellDelegate {
+    
     func valueChangedSwitchNewFile(with fileId: String, sender: Any) {
         
     }

+ 0 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadConflictCell.swift

@@ -43,7 +43,6 @@ class NCCreateFormUploadConflictCell: UITableViewCell {
     @IBAction func valueChangedSwitchAlreadyExistingFile(_ sender: Any) {
         delegate?.valueChangedSwitchAlreadyExistingFile(with: fileId, sender: sender)
     }
-    
 }
 
 protocol NCCreateFormUploadConflictCellDelegate {