aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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-17 20:09:49 +0000
commit3f1370ada560d824e1cf2258e7c475a32b750e95 (patch)
tree4f6fb03458341ee34fca5b9888909af635dfc00b /lib
parent4d058d87aebaa1d3d47a835559dfa0fe0d8b7b74 (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>
Diffstat (limited to 'lib')
-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,