mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 19:19:47 +00:00
Added color to switch
This commit is contained in:
parent
6d2813a4bd
commit
54f0764b73
@ -16,7 +16,7 @@
|
|||||||
</MudButton>
|
</MudButton>
|
||||||
|
|
||||||
<MudStack Row="@false" Class="mb-3">
|
<MudStack Row="@false" Class="mb-3">
|
||||||
<MudSwitch T="bool" @bind-Value="@this.provideCompilerMessages">
|
<MudSwitch T="bool" @bind-Value="@this.provideCompilerMessages" Color="Color.Primary">
|
||||||
@(this.provideCompilerMessages ? "Provide compiler messages" : "Provide no compiler messages")
|
@(this.provideCompilerMessages ? "Provide compiler messages" : "Provide no compiler messages")
|
||||||
</MudSwitch>
|
</MudSwitch>
|
||||||
@if (this.provideCompilerMessages)
|
@if (this.provideCompilerMessages)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
@inherits AssistantBaseCore
|
@inherits AssistantBaseCore
|
||||||
|
|
||||||
<MudField Label="Live translation" Variant="Variant.Outlined" Class="mb-3">
|
<MudField Label="Live translation" Variant="Variant.Outlined" Class="mb-3">
|
||||||
<MudSwitch T="bool" @bind-Value="@this.liveTranslation">
|
<MudSwitch T="bool" @bind-Value="@this.liveTranslation" Color="Color.Primary">
|
||||||
@(this.liveTranslation ? "Live translation" : "No live translation")
|
@(this.liveTranslation ? "Live translation" : "No live translation")
|
||||||
</MudSwitch>
|
</MudSwitch>
|
||||||
</MudField>
|
</MudField>
|
||||||
|
Loading…
Reference in New Issue
Block a user