| 167 | } |
| 168 | |
| 169 | void WindowEffectHelper::init() |
| 170 | { |
| 171 | if (!m_target) |
| 172 | return; |
| 173 | |
| 174 | auto settingsViewModel = ViewModelLocator::GetInstance().SettingsViewModel(); |
| 175 | settingsViewModel.BackgroundSelection(settingsViewModel.BackgroundSelection()); |
| 176 | settingsViewModel.ThemeSelection(settingsViewModel.ThemeSelection()); |
| 177 | } |
| 178 | |
| 179 | void WindowEffectHelper::SetTheme(winrt::Microsoft::UI::Xaml::ElementTheme theme) |
| 180 | { |
nothing calls this directly
no test coverage detected