From b351c0b5d2cfc5535f5cf952dde32b5089c423a6 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Fri, 22 Mar 2024 16:35:36 -0700
Subject: [PATCH] login [nfc]: Express some unconditional padding more
 transparently

The top of this area will never be in the top inset, since that's
consumed by the app bar. So "minimum 8" really just means always 8.
So, express that more directly and transparently.
---
 lib/widgets/login.dart | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/widgets/login.dart b/lib/widgets/login.dart
index 41d1f8acd4..f059e17d7c 100644
--- a/lib/widgets/login.dart
+++ b/lib/widgets/login.dart
@@ -411,8 +411,9 @@ class LoginPageState extends State<LoginPage> {
         bottom: false,
         child: Center(
           child: SingleChildScrollView(
+            padding: const EdgeInsets.only(top: 8),
             child: SafeArea(
-              minimum: const EdgeInsets.symmetric(vertical: 8),
+              minimum: const EdgeInsets.only(bottom: 8),
               // TODO also detect vertical scroll gestures that start on the
               //   left or the right of this box
               child: ConstrainedBox(