mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[ios] Check that pp data exists before update the TR PP screen
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
2b2518b0b4
commit
cecca729db
@@ -115,8 +115,9 @@ static PlacePageRoadType convertRoadType(RoadWarningMarkType roadType) {
|
||||
self.onTrackRecordingProgressUpdate();
|
||||
}
|
||||
|
||||
- (void)handleActiveTrackSelectionPointChanged {
|
||||
if (!self || !rawData().IsTrack())
|
||||
- (void)handleActiveTrackSelectionPointChanged
|
||||
{
|
||||
if (!self || !PlacePageData.hasData || !rawData().IsTrack())
|
||||
return;
|
||||
auto const & trackInfo = GetFramework().GetBookmarkManager().GetTrackSelectionInfo(rawData().GetTrackId());
|
||||
auto const latlon = mercator::ToLatLon(trackInfo.m_trackPoint);
|
||||
|
||||
Reference in New Issue
Block a user