Update binding

This commit is contained in:
Den Delimarsky 2021-05-01 13:15:06 -07:00
parent a458aba2d3
commit 9a009d63eb
No known key found for this signature in database
GPG key ID: E1BE1355085F0BCF

View file

@ -65,7 +65,7 @@
Style="{StaticResource SettingsGroupTitleStyle}"/>
<ToggleSwitch x:Uid="Espresso_EnableDisplayKeepAwake"
IsEnabled="{Binding IsEnabled}"
IsOn="True" />
IsOn="{Binding KeepDisplayOn, Mode=TwoWay}" />
<!--Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"-->
<StackPanel Margin="{StaticResource MediumTopMargin}">