[drape] Remember navigation mode between sessions

Signed-off-by: Leonardo Bishop <me@leonardobishop.net>
This commit is contained in:
Leonardo Bishop
2026-01-10 13:55:20 +00:00
committed by Konstantin Pastbin
parent 2b6cd0db54
commit f9485d44f5
10 changed files with 107 additions and 29 deletions

View File

@@ -206,6 +206,12 @@ void Framework::SwitchMyPositionNextMode()
m_drapeEngine->SwitchMyPositionNextMode();
}
void Framework::StartPendingPositionMode()
{
if (m_drapeEngine != nullptr)
m_drapeEngine->StartPendingPositionMode();
}
void Framework::SetMyPositionModeListener(TMyPositionModeChanged && fn)
{
m_myPositionListener = std::move(fn);