Verified Commit 65d6cf5b authored by Eyad Hasan's avatar Eyad Hasan
Browse files

Messed with the timing of the dismiss, 1 second felt a lil too fast, bumped up...

Messed with the timing of the dismiss, 1 second felt a lil too fast, bumped up to like 1.1 and it feels a little more natural now?
parent 8506dd2c
...@@ -42,7 +42,7 @@ class DetailViewButtonsViewController: UIViewController, INUIAddVoiceShortcutVie ...@@ -42,7 +42,7 @@ class DetailViewButtonsViewController: UIViewController, INUIAddVoiceShortcutVie
loadChild("Removed from Favorites", image: UIImage(named: "empty_heart_big")) loadChild("Removed from Favorites", image: UIImage(named: "empty_heart_big"))
DispatchQueue.main.asyncAfter(deadline: .now() + 1) { [weak self] in DispatchQueue.main.asyncAfter(deadline: .now() + 1.1) { [weak self] in
self?.unloadChild() self?.unloadChild()
} }
} }
...@@ -174,6 +174,7 @@ class DetailViewButtonsViewController: UIViewController, INUIAddVoiceShortcutVie ...@@ -174,6 +174,7 @@ class DetailViewButtonsViewController: UIViewController, INUIAddVoiceShortcutVie
infoBubbleView = storyboard?.instantiateViewController(withIdentifier: "HUD") as! HUDViewController infoBubbleView = storyboard?.instantiateViewController(withIdentifier: "HUD") as! HUDViewController
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
// yah yah, yah yAH
} }
func setActivityUp() { func setActivityUp() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment