diff --git a/lib/fido/views/fingerprints_screen.dart b/lib/fido/views/fingerprints_screen.dart index 1a5ca709..252c41c1 100644 --- a/lib/fido/views/fingerprints_screen.dart +++ b/lib/fido/views/fingerprints_screen.dart @@ -54,6 +54,8 @@ class FingerprintsScreen extends ConsumerWidget { final l10n = AppLocalizations.of(context)!; return ref.watch(fidoStateProvider(deviceData.node.path)).when( loading: () => AppPage( + title: l10n.s_fingerprints, + capabilities: const [Capability.fido2], centered: true, delayedContent: true, builder: (context, _) => const CircularProgressIndicator(), @@ -344,6 +346,8 @@ class _FidoUnlockedPageState extends ConsumerState<_FidoUnlockedPage> { } Widget _buildLoadingPage(BuildContext context) => AppPage( + title: AppLocalizations.of(context)!.s_fingerprints, + capabilities: const [Capability.fido2], centered: true, delayedContent: true, builder: (context, _) => const CircularProgressIndicator(), diff --git a/lib/fido/views/passkeys_screen.dart b/lib/fido/views/passkeys_screen.dart index 396c68db..5ef99acd 100644 --- a/lib/fido/views/passkeys_screen.dart +++ b/lib/fido/views/passkeys_screen.dart @@ -263,7 +263,7 @@ class _FidoUnlockedPageState extends ConsumerState<_FidoUnlockedPage> { final data = ref.watch(credentialProvider(widget.node.path)).asData; if (data == null) { - return _buildLoadingPage(l10n, context); + return _buildLoadingPage(context); } final credentials = data.value; final filteredCredentials = @@ -502,9 +502,8 @@ class _FidoUnlockedPageState extends ConsumerState<_FidoUnlockedPage> { ); } - Widget _buildLoadingPage(AppLocalizations l10n, BuildContext context) => - AppPage( - title: l10n.s_passkeys, + Widget _buildLoadingPage(BuildContext context) => AppPage( + title: AppLocalizations.of(context)!.s_passkeys, capabilities: const [Capability.fido2], centered: true, delayedContent: true, diff --git a/lib/oath/views/oath_screen.dart b/lib/oath/views/oath_screen.dart index 6c499086..b8f4b750 100755 --- a/lib/oath/views/oath_screen.dart +++ b/lib/oath/views/oath_screen.dart @@ -204,6 +204,8 @@ class _UnlockedViewState extends ConsumerState<_UnlockedView> { if (numCreds == null) { return AppPage( + title: AppLocalizations.of(context)!.s_accounts, + capabilities: const [Capability.oath], centered: true, delayedContent: true, builder: (context, _) => const CircularProgressIndicator(),