From 649c4a902a76da1a716c69cb302f49f89b40bfdf Mon Sep 17 00:00:00 2001 From: PianoNic <79938743+PianoNic@users.noreply.github.com> Date: Sun, 19 Jul 2026 13:28:16 +0200 Subject: [PATCH] Removed redundant card wrapper around the TOTP picker tile --- lib/ui/authenticator/totp_field_picker.dart | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/ui/authenticator/totp_field_picker.dart b/lib/ui/authenticator/totp_field_picker.dart index 99e70e5..0a21395 100644 --- a/lib/ui/authenticator/totp_field_picker.dart +++ b/lib/ui/authenticator/totp_field_picker.dart @@ -110,14 +110,12 @@ class _TotpFieldPickerState extends State { final subtitle = selected == null ? 'Not set — tap to choose' : [selected.title, if (selected.subtitle != null) selected.subtitle].join(' · '); - return FCard( - child: FTile( - prefix: const Icon(FIcons.shieldCheck), - title: Text(widget.field.label), - subtitle: Text(subtitle, style: selected == null ? TextStyle(color: colors.mutedForeground) : null), - suffix: const Icon(FIcons.chevronRight), - onPress: _openMenu, - ), + return FTile( + prefix: const Icon(FIcons.shieldCheck), + title: Text(widget.field.label), + subtitle: Text(subtitle, style: selected == null ? TextStyle(color: colors.mutedForeground) : null), + suffix: const Icon(FIcons.chevronRight), + onPress: _openMenu, ); } }