Доработана QR авторизация
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
Dense
|
||||
Color="Color.Primary">
|
||||
<MudMenuItem OnClick="OpenTokenDialog">Token</MudMenuItem>
|
||||
<MudMenuItem OnClick="OpenQrDialog">Qr</MudMenuItem>
|
||||
<MudMenuItem OnClick="OpenQrServerDialog">QR</MudMenuItem>
|
||||
</MudMenu>
|
||||
</MudStack>
|
||||
</MudCardContent>
|
||||
@@ -77,10 +77,10 @@
|
||||
if (!result.Canceled) await LoadStatus();
|
||||
}
|
||||
|
||||
private async Task OpenQrDialog()
|
||||
private async Task OpenQrServerDialog()
|
||||
{
|
||||
var options = new DialogOptions { CloseOnEscapeKey = true, MaxWidth = MaxWidth.Small, FullWidth = true };
|
||||
var dialog = await DialogService.ShowAsync<YandexQrDialog>("", options);
|
||||
var dialog = await DialogService.ShowAsync<YandexQrServerDialog>("", options);
|
||||
var result = await dialog.Result;
|
||||
|
||||
if (!result.Canceled) await LoadStatus();
|
||||
|
||||
Reference in New Issue
Block a user