mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-05-03 09:39:47 +00:00
Improved switch component for settings: when an option is enabled, the switch is using a different color
This commit is contained in:
parent
a2435354a8
commit
eb31759f67
@ -1,7 +1,7 @@
|
|||||||
@inherits ConfigurationBase
|
@inherits ConfigurationBase
|
||||||
|
|
||||||
<MudField Label="@this.OptionDescription" Variant="Variant.Outlined" HelperText="@this.OptionHelp" Class="@MARGIN_CLASS">
|
<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)
|
@(this.State() ? this.LabelOn : this.LabelOff)
|
||||||
</MudSwitch>
|
</MudSwitch>
|
||||||
</MudField>
|
</MudField>
|
@ -1,4 +1,5 @@
|
|||||||
# v0.8.4, build 167
|
# 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
|
- Fixed the applying of spellchecking settings to the single-line dialog
|
||||||
- Restructured the layout of the settings page
|
- Restructured the layout of the settings page
|
||||||
- Refactored the settings data model
|
- Refactored the settings data model
|
||||||
|
Loading…
Reference in New Issue
Block a user