| 326 | } |
| 327 | |
| 328 | void MainAppWindow::ConfigurationChanged() |
| 329 | { |
| 330 | const Config &config = m_App.GetConfigManager().GetConfig(); |
| 331 | |
| 332 | UpdateTrayVisibility(!config.HideTray.value_or(false)); |
| 333 | SetXamlContextMenuOverride(config.UseXamlContextMenu); |
| 334 | } |
| 335 | |
| 336 | void MainAppWindow::RemoveHideTrayIconOverride() |
| 337 | { |
no test coverage detected