Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

fix double tap tab invalid #2192

Merged
merged 1 commit into from
Sep 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/View Controllers/TabBarControllerDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class TabBarControllerDelegate: NSObject, UITabBarControllerDelegate {
nav.transitionCoordinator?.viewController(forKey: UITransitionContextViewControllerKey.from) == nil,
let root = nav.viewControllers.first as? TabNavRootViewControllerType {
tapCount += 1
DispatchQueue.main.asyncAfter(deadline: .now() + 0.17, execute: {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.27, execute: {
let count = self.tapCount

// make sure that on the same VC that queued the tap-check
Expand Down