Fix UnitsTile effect height 89/30389/3
authorTomi Leppänen <tomi.leppanen@seafarix.com>
Fri, 23 Aug 2024 08:31:21 +0000 (11:31 +0300)
committerScott Murray <scott.murray@konsulko.com>
Thu, 17 Oct 2024 20:09:49 +0000 (20:09 +0000)
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 <tomi.leppanen@seafarix.com>
lib/presentation/screens/settings/settings_screens/units/units_screen.dart

index a49546f..ba84471 100644 (file)
@@ -100,7 +100,6 @@ class UnitsTileState extends ConsumerState<UnitsTile> {
       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<UnitsTile> {
           //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,