fix flicker on Passkeys loading page

This commit is contained in:
Adam Velebil 2024-04-15 09:36:21 +02:00
parent 9a5564d97f
commit 18718921cb
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -59,6 +59,8 @@ class PasskeysScreen extends ConsumerWidget {
final l10n = AppLocalizations.of(context)!; final l10n = AppLocalizations.of(context)!;
return ref.watch(fidoStateProvider(deviceData.node.path)).when( return ref.watch(fidoStateProvider(deviceData.node.path)).when(
loading: () => AppPage( loading: () => AppPage(
title: l10n.s_passkeys,
capabilities: const [Capability.fido2],
centered: true, centered: true,
delayedContent: true, delayedContent: true,
builder: (context, _) => const CircularProgressIndicator(), builder: (context, _) => const CircularProgressIndicator(),