Skip to content

Commit 9e3b678

Browse files
committed
Merge branch 'main' into PM-14800/impl-cxp-import-flow
2 parents 0bff554 + 43e1883 commit 9e3b678

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Bitwarden/Application/SceneDelegate.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
5050
window = appWindow
5151

5252
#if DEBUG_MENU
53-
addTripleTapGestureRecognizer(to: appWindow)
53+
addTapGestureRecognizer(to: appWindow)
5454
#endif
5555

5656
// Splash window. This is initially visible until the app's processor has finished starting.
@@ -159,22 +159,22 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
159159
}
160160

161161
#if DEBUG_MENU
162-
/// Handle the triple-tap gesture and launch the debug menu.
162+
/// Handle the tap gesture and launch the debug menu.
163163
@objc
164-
private func handleTripleTapGesture() {
164+
private func handleTapGesture() {
165165
appProcessor?.showDebugMenu()
166166
}
167167
#endif
168168

169169
#if DEBUG_MENU
170-
/// Add the triple-tap gesture recognizer to the window.
171-
private func addTripleTapGestureRecognizer(to window: UIWindow) {
170+
/// Add the tap gesture recognizer to the window.
171+
private func addTapGestureRecognizer(to window: UIWindow) {
172172
let tapGesture = UITapGestureRecognizer(
173173
target: self,
174-
action: #selector(handleTripleTapGesture)
174+
action: #selector(handleTapGesture)
175175
)
176176
tapGesture.numberOfTapsRequired = 3
177-
tapGesture.numberOfTouchesRequired = 3
177+
tapGesture.numberOfTouchesRequired = 1
178178
window.addGestureRecognizer(tapGesture)
179179
}
180180
#endif

0 commit comments

Comments
 (0)