Marino Faggiana 6 years ago
parent
commit
e39a626a4d
2 changed files with 1 additions and 5 deletions
  1. 1 1
      iOSClient/Trash/NCTrash.storyboard
  2. 0 4
      iOSClient/Trash/NCTrashHeaderMenu.swift

+ 1 - 1
iOSClient/Trash/NCTrash.storyboard

@@ -48,7 +48,7 @@
                                             </constraints>
                                             <state key="normal" image="switchList"/>
                                             <connections>
-                                                <action selector="touchDownSwitch:" destination="AQ6-rS-Wxb" eventType="touchDown" id="sOn-g2-gml"/>
+                                                <action selector="touchUpInsideSwitch:" destination="AQ6-rS-Wxb" eventType="touchUpInside" id="wkS-i9-OsH"/>
                                             </connections>
                                         </button>
                                     </subviews>

+ 0 - 4
iOSClient/Trash/NCTrashHeaderMenu.swift

@@ -32,10 +32,6 @@ class NCTrashHeaderMenu: UICollectionReusableView {
     @IBAction func touchUpInsideSwitch(_ sender: Any) {
         delegate?.tapSwitchHeaderMenu()
     }
-    
-    @IBAction func touchDownSwitch(_ sender: Any) {
-        delegate?.tapSwitchHeaderMenu()
-    }
 }
 
 protocol NCTrashHeaderMenuDelegate {