| 2435 | } |
| 2436 | |
| 2437 | void Framework::SetCustomMapLanguageCode(std::optional<localisation::LanguageCode> const languageCode) |
| 2438 | { |
| 2439 | if (languageCode.has_value()) |
| 2440 | settings::Set(localisation::kMapLanguageSetting, languageCode.value()); |
| 2441 | else |
| 2442 | settings::Delete(localisation::kMapLanguageSetting); |
| 2443 | |
| 2444 | RefreshMapLanguage(); |
| 2445 | } |
| 2446 | |
| 2447 | void Framework::RefreshMapLanguage() |
| 2448 | { |
no test coverage detected