| 101 | } |
| 102 | |
| 103 | void TrayFlyoutPage::SetLogLevel(const txmp::LogLevel &level) |
| 104 | { |
| 105 | for (const auto item : LogLevelSubMenu().Items()) |
| 106 | { |
| 107 | if (const auto radioItem = item.try_as<muxc::RadioMenuFlyoutItem>()) |
| 108 | { |
| 109 | if (radioItem.Tag().try_as<txmp::LogLevel>() == level) |
| 110 | { |
| 111 | radioItem.IsChecked(true); |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | void TrayFlyoutPage::SetDisableSavingSettings(const bool &disabled) |
| 118 | { |