[Awake][Settings]Don't hide "Keep screen on" (#23575)

* [Awake][Settings]Don't hide "Keep screen on"

* Change tray menu as well
This commit is contained in:
Jaime Bernardo
2023-01-24 13:10:31 +00:00
committed by GitHub
parent 6f0b16de49
commit 97e5e22b4e
3 changed files with 5 additions and 2 deletions

View File

@@ -83,7 +83,7 @@
<labs:SettingsCard
x:Uid="Awake_EnableDisplayKeepAwake"
HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE7FB;}"
Visibility="{x:Bind ViewModel.IsScreenConfigurationPossibleEnabled, Mode=OneWay}">
IsEnabled="{x:Bind ViewModel.IsScreenConfigurationPossibleEnabled, Mode=OneWay}">
<ToggleSwitch
x:Uid="ToggleSwitch"
IsOn="{x:Bind ViewModel.KeepDisplayOn, Mode=TwoWay}" />