Prompt the user for a new language string
| 1129 | |
| 1130 | // Prompt the user for a new language string |
| 1131 | void AppWindow::ChangeLanguage() |
| 1132 | { |
| 1133 | TextInputDialog dialog( |
| 1134 | GetMainWindow(), L"Language", L"Language:", |
| 1135 | L"Enter a language to use for WebView, or leave blank to restore default.", |
| 1136 | m_language.empty() ? L"zh-cn" : m_language.c_str()); |
| 1137 | if (dialog.confirmed) |
| 1138 | { |
| 1139 | m_language = (dialog.input); |
| 1140 | } |
| 1141 | } |
| 1142 | |
| 1143 | // Toggle AAD SSO enabled |
| 1144 | void AppWindow::ToggleAADSSO() |
nothing calls this directly
no outgoing calls
no test coverage detected