fix Security Key app page

This commit is contained in:
Adam Velebil 2024-04-15 14:23:54 +02:00
parent 9451cddd76
commit b70914cea1
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -545,7 +545,11 @@ class _AppPageState extends ConsumerState<AppPage> {
body
]),
)),
if (hasManage && !hasDetailsOrKeyActions)
if (hasManage &&
!hasDetailsOrKeyActions &&
widget.capabilities?.first != Capability.u2f)
// Add a placeholder for the Manage/Details column, but not for
// the "Security Key" because it does not have any actions/details.
const SizedBox(width: 336), // simulate column
if (hasManage && hasDetailsOrKeyActions)
_VisibilityListener(