From 494b00b86255f623148c75b3d6dcc89db276ed31 Mon Sep 17 00:00:00 2001 From: Kiryl Kaveryn Date: Mon, 16 Jun 2025 11:58:32 +0400 Subject: [PATCH] [ios] hotfix track recording stop button action Signed-off-by: Kiryl Kaveryn --- iphone/Maps/UI/BottomMenu/Menu/BottomMenuInteractor.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iphone/Maps/UI/BottomMenu/Menu/BottomMenuInteractor.swift b/iphone/Maps/UI/BottomMenu/Menu/BottomMenuInteractor.swift index 2d502d5e4..99a260b37 100644 --- a/iphone/Maps/UI/BottomMenu/Menu/BottomMenuInteractor.swift +++ b/iphone/Maps/UI/BottomMenu/Menu/BottomMenuInteractor.swift @@ -77,14 +77,15 @@ extension BottomMenuInteractor: BottomMenuInteractorProtocol { func toggleTrackRecording() { close() + let mapViewController = MapViewController.shared()! switch trackRecorder.recordingState { case .active: - break + mapViewController.showTrackRecordingPlacePage() case .inactive: trackRecorder.start { result in switch result { case .success: - MapViewController.shared()?.showTrackRecordingPlacePage() + mapViewController.showTrackRecordingPlacePage() case .failure: break }