mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +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();
|
self.onTrackRecordingProgressUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)handleActiveTrackSelectionPointChanged {
|
- (void)handleActiveTrackSelectionPointChanged
|
||||||
if (!self || !rawData().IsTrack())
|
{
|
||||||
|
if (!self || !PlacePageData.hasData || !rawData().IsTrack())
|
||||||
return;
|
return;
|
||||||
auto const & trackInfo = GetFramework().GetBookmarkManager().GetTrackSelectionInfo(rawData().GetTrackId());
|
auto const & trackInfo = GetFramework().GetBookmarkManager().GetTrackSelectionInfo(rawData().GetTrackId());
|
||||||
auto const latlon = mercator::ToLatLon(trackInfo.m_trackPoint);
|
auto const latlon = mercator::ToLatLon(trackInfo.m_trackPoint);
|
||||||
|
|||||||
Reference in New Issue
Block a user