From 3f1370ada560d824e1cf2258e7c475a32b750e95 Mon Sep 17 00:00:00 2001 From: Tomi Leppänen Date: Fri, 23 Aug 2024 11:31:21 +0300 Subject: Fix UnitsTile effect height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously had weird looking effect that didn't fill the whole tile. This fixes that by extending ListTile to fill the whole container while retaining the previous padding for content. Bug-AGL: SPEC-5261 Change-Id: Icbaa73b86ee6c9f082f9bd433364c543451c5f69 Signed-off-by: Tomi Leppänen --- .../screens/settings/settings_screens/units/units_screen.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/presentation/screens/settings/settings_screens/units/units_screen.dart b/lib/presentation/screens/settings/settings_screens/units/units_screen.dart index a49546f..ba84471 100644 --- a/lib/presentation/screens/settings/settings_screens/units/units_screen.dart +++ b/lib/presentation/screens/settings/settings_screens/units/units_screen.dart @@ -100,7 +100,6 @@ class UnitsTileState extends ConsumerState { children: [ Container( margin: const EdgeInsets.symmetric(vertical: 8), - padding: const EdgeInsets.symmetric(vertical: 15), decoration: const BoxDecoration( gradient: LinearGradient( begin: Alignment.centerLeft, @@ -111,7 +110,7 @@ class UnitsTileState extends ConsumerState { //color: Color(0xFF0D113F), child: ListTile( contentPadding: - const EdgeInsets.symmetric(vertical: 17, horizontal: 24), + const EdgeInsets.symmetric(vertical: 32, horizontal: 24), leading: widget.icon != null ? Icon( widget.icon, -- cgit 1.2.3-korg