aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Leppänen <tomi.leppanen@seafarix.com>2024-08-23 11:31:21 +0300
committerScott Murray <scott.murray@konsulko.com>2024-10-18 20:19:07 +0000
commit448b089dabd6a4f2729c7478edb1536ae4d47222 (patch)
tree348d6e16c7a82a10254046b190bc4fded24846ae
parentd8c6d9b56cb17fc7d2487734837249c3a54472f8 (diff)
Fix UnitsTile effect height
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> (cherry picked from commit 3f1370ada560d824e1cf2258e7c475a32b750e95)
-rw-r--r--lib/presentation/screens/settings/settings_screens/units/units_screen.dart3
1 files changed, 1 insertions, 2 deletions
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<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,