From edf7496169e65631541484d6fcbe966c741461d9 Mon Sep 17 00:00:00 2001 From: Chris Bobbe 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/login.dart b/lib/widgets/login.dart index bdc46b8423..5effa72d4b 100644 --- a/lib/widgets/login.dart +++ b/lib/widgets/login.dart @@ -442,12 +442,12 @@ class _LoginPageState extends State { : null), body: SafeArea( minimum: const EdgeInsets.symmetric(horizontal: 8), - top: false, 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(