Improved switch component for settings: when an option is enabled, the switch is using a different color

This commit is contained in:
tsommer committed 2024-07-26 20:22:54 +02:00
1 parent a2435354a8
commit eb31759f67
2 files changed
+2 -1

No files matched your search

@@ -1,7 +1,7 @@
@inherits ConfigurationBase
<MudField Label="@this.OptionDescription" Variant="Variant.Outlined" HelperText="@this.OptionHelp" Class="@MARGIN_CLASS">
<MudSwitch T="bool" Value="@this.State()" ValueChanged="@(updatedState => this.OptionChanged(updatedState))">
<MudSwitch T="bool" Value="@this.State()" ValueChanged="@(updatedState => this.OptionChanged(updatedState))" Color="Color.Primary">
@(this.State() ? this.LabelOn : this.LabelOff)
</MudSwitch>
</MudField>
@@ -1,4 +1,5 @@
# v0.8.4, build 167
- Improved switch component for settings: when an option is enabled, the switch is using a different color
- Fixed the applying of spellchecking settings to the single-line dialog
- Restructured the layout of the settings page
- Refactored the settings data model