fix: TabBar has noticeable delay when selecting next tab
This commit is contained in:
parent
939d85bb8f
commit
d8cf4606e2
|
@ -329,6 +329,7 @@ extension MainTabBarController {
|
||||||
let tabBarDoubleTapGestureRecognizer = UITapGestureRecognizer()
|
let tabBarDoubleTapGestureRecognizer = UITapGestureRecognizer()
|
||||||
tabBarDoubleTapGestureRecognizer.numberOfTapsRequired = 2
|
tabBarDoubleTapGestureRecognizer.numberOfTapsRequired = 2
|
||||||
tabBarDoubleTapGestureRecognizer.addTarget(self, action: #selector(MainTabBarController.tabBarDoubleTapGestureRecognizerHandler(_:)))
|
tabBarDoubleTapGestureRecognizer.addTarget(self, action: #selector(MainTabBarController.tabBarDoubleTapGestureRecognizerHandler(_:)))
|
||||||
|
tabBarDoubleTapGestureRecognizer.delaysTouchesEnded = false
|
||||||
tabBar.addGestureRecognizer(tabBarDoubleTapGestureRecognizer)
|
tabBar.addGestureRecognizer(tabBarDoubleTapGestureRecognizer)
|
||||||
|
|
||||||
self.isReadyForWizardAvatarButton = authContext != nil
|
self.isReadyForWizardAvatarButton = authContext != nil
|
||||||
|
|
Loading…
Reference in New Issue