mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 02:06:36 +02:00
[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:
@@ -1822,6 +1822,9 @@ From there, simply click on one of the supported files in the File Explorer and
|
||||
<data name="Awake_EnableDisplayKeepAwake.Header" xml:space="preserve">
|
||||
<value>Keep screen on</value>
|
||||
</data>
|
||||
<data name="Awake_EnableDisplayKeepAwake.Description" xml:space="preserve">
|
||||
<value>This setting is only available when keeping the PC awake</value>
|
||||
</data>
|
||||
<data name="Awake_Mode.Header" xml:space="preserve">
|
||||
<value>Mode</value>
|
||||
</data>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
<labs:SettingsCard
|
||||
x:Uid="Awake_EnableDisplayKeepAwake"
|
||||
HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=}"
|
||||
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}" />
|
||||
|
||||
Reference in New Issue
Block a user