allow setting to be toggled from the json file
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<controls:SettingsCard
|
||||
x:Class="Hyperbar.Widget.Windows.WidgetToggleConfigurationView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
|
||||
Description="{Binding Description}"
|
||||
Header="{Binding Title}">
|
||||
<ToggleSwitch IsOn="{Binding Value}" />
|
||||
</controls:SettingsCard>
|
||||
Reference in New Issue
Block a user