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

+ 1 - 1
iOSClient/Trash/NCTrash.storyboard

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

+ 4 - 0
iOSClient/Trash/NCTrashHeaderMenu.swift

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