Verified Commit cd5bc6ed authored by Eyad Hasan's avatar Eyad Hasan
Browse files

Reverting some changes made earlier

parent 7620d2d4
......@@ -47,20 +47,6 @@ class DetailViewButtonsViewController: UIViewController, INUIAddVoiceShortcutVie
setFavoriteButtonText()
}
private func loadInfoBubbleView () {
let infoBubbleFrame = CGRect(x: 0, y: 0, width: view.frame.width, height: view.frame.height - 200)
infoBubbleView = UIView(frame: infoBubbleFrame)
view.addSubview(infoBubbleView)
infoBubbleView.isHidden = false
DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {
self.infoBubbleView.isHidden = true
}
}
func getDirections(_ sender: Any) {
let appToUse = WOPDatabaseController.getDefaults().value(forKey: "mapsApp") as? String
......@@ -210,6 +196,21 @@ class DetailViewButtonsViewController: UIViewController, INUIAddVoiceShortcutVie
}
*/
private func loadInfoBubbleView () {
let infoBubbleFrame = CGRect(x: 0, y: 0, width: view.frame.width, height: view.frame.height - 200)
infoBubbleView = UIView(frame: infoBubbleFrame)
view.addSubview(infoBubbleView)
infoBubbleView.isHidden = false
DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {
self.infoBubbleView.isHidden = true
}
}
}
// Helper function inserted by Swift 4.2 migrator.
......
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