Skip to content

Commit 86007ba

Browse files
authored
[auth] Fix QR page back button cropping (#7781)
## Description Fix buttons getting cropped due to excessive vertical padding. ## Tests - [x] Verified the change.
2 parents ec0aa63 + 901edce commit 86007ba

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

mobile/apps/auth/lib/onboarding/view/setup_enter_secret_key_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
348348
width: 400,
349349
child: OutlinedButton(
350350
style: OutlinedButton.styleFrom(
351-
padding: const EdgeInsets.symmetric(vertical: 8),
351+
padding: const EdgeInsets.symmetric(vertical: 0),
352352
),
353353
onPressed: () async {
354354
final digits =

mobile/apps/auth/lib/onboarding/view/view_qr_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class ViewQrPage extends StatelessWidget {
104104
child: Padding(
105105
padding: const EdgeInsets.symmetric(
106106
horizontal: 16.0,
107-
vertical: 4,
107+
vertical: 0,
108108
),
109109
child: Text(l10n.back),
110110
),

mobile/apps/auth/lib/ui/home/home_empty_state.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class HomeEmptyStateWidget extends StatelessWidget {
5050
child: OutlinedButton(
5151
onPressed: onScanTap,
5252
style: OutlinedButton.styleFrom(
53-
padding: const EdgeInsets.symmetric(vertical: 8),
53+
padding: const EdgeInsets.symmetric(vertical: 0),
5454
),
5555
child: Text(
5656
l10n.importScanQrCode,
@@ -64,7 +64,7 @@ class HomeEmptyStateWidget extends StatelessWidget {
6464
child: OutlinedButton(
6565
onPressed: onManuallySetupTap,
6666
style: OutlinedButton.styleFrom(
67-
padding: const EdgeInsets.symmetric(vertical: 8),
67+
padding: const EdgeInsets.symmetric(vertical: 0),
6868
),
6969
child: Text(
7070
l10n.importEnterSetupKey,

0 commit comments

Comments
 (0)