[ios] show add stop button to the selected track point during the nav mode

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn 2025-02-20 13:51:13 +04:00 committed by Roman Tsisyk
parent 34510b8f1c
commit 524f3fe358

View file

@ -82,11 +82,11 @@ final class ActionBarViewController: UIViewController {
private func configButton2() {
var buttons: [ActionBarButtonType] = []
if canAddStop {
buttons.append(.routeAddStop)
}
switch placePageData.objectType {
case .POI, .bookmark:
if canAddStop {
buttons.append(.routeAddStop)
}
buttons.append(.bookmark)
case .track:
buttons.append(.track)