mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 14:58:00 +00:00
Improved switch component for settings: when an option is enabled, the switch is using a different color
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user