forked from organicmaps/organicmaps
[ios] Fixed feature selection/bookmark bug from previous cleanup
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
415f7a5c3e
commit
6d7598b39b
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class ActionBarViewController: UIViewController {
|
|||
private func buttonState(_ buttonType: ActionBarButtonType) -> (Bool /* selected */, Bool /* enabled */) {
|
||||
var selected = false
|
||||
let enabled = true
|
||||
if buttonType == .bookmark {
|
||||
if buttonType == .bookmark && placePageData.bookmarkData != nil {
|
||||
selected = true
|
||||
}
|
||||
return (selected, enabled)
|
||||
|
|
Loading…
Add table
Reference in a new issue