| 1636 | } |
| 1637 | |
| 1638 | void RoutingManager::DeleteSavedRoutePoints() |
| 1639 | { |
| 1640 | if (!HasSavedRoutePoints()) |
| 1641 | return; |
| 1642 | |
| 1643 | GetPlatform().RunTask(Platform::Thread::File, []() |
| 1644 | { |
| 1645 | auto const fileName = GetPlatform().SettingsPathForFile(kRoutePointsFile); |
| 1646 | FileWriter::DeleteFileX(fileName); |
| 1647 | }); |
| 1648 | } |
| 1649 | |
| 1650 | void RoutingManager::UpdatePreviewMode() |
| 1651 | { |
no test coverage detected