Enhance VerificationSettingsDialog: add success message for link copy action and improve button styling

This commit is contained in:
a.beging@eas-solutions.de
2026-04-24 14:29:18 +02:00
parent 954d57b7a6
commit d09926a8b4
2 changed files with 9 additions and 2 deletions

View File

@@ -23,6 +23,8 @@ namespace FoodsharingSiegen.Server.Dialogs
private int ImageCount { get; set; } = 0;
private bool ShowLinkPanel { get; set; } = false;
private bool CopySuccess { get; set; } = false;
private string LinkUrl { get; set; } = string.Empty;
protected override async Task OnInitializedAsync()
@@ -77,6 +79,7 @@ namespace FoodsharingSiegen.Server.Dialogs
private async Task CopyLink()
{
await JS.InvokeVoidAsync("navigator.clipboard.writeText", LinkUrl);
CopySuccess = true;
}
private async Task ViewImagesAsync()