Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-ios
Commits
cd5bc6ed
Verified
Commit
cd5bc6ed
authored
Feb 06, 2019
by
Eyad Hasan
Browse files
Reverting some changes made earlier
parent
7620d2d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
WhatsOpen/WhatsOpen/Views/DetailViewButtonsViewController.swift
View file @
cd5bc6ed
...
...
@@ -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
...
...
@@ -209,6 +195,21 @@ class DetailViewButtonsViewController: UIViewController, INUIAddVoiceShortcutVie
// Pass the selected object to the new view controller.
}
*/
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
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment