From f12bdc84020b795cf39d58d943575652027ba67e Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Wed, 2 Oct 2024 13:20:20 +0300 Subject: [PATCH] fix: settings switches padding --- .../settings/presentation/pages/settings_screen.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/features/settings/presentation/pages/settings_screen.dart b/lib/features/settings/presentation/pages/settings_screen.dart index dee57f62..0a18843f 100644 --- a/lib/features/settings/presentation/pages/settings_screen.dart +++ b/lib/features/settings/presentation/pages/settings_screen.dart @@ -195,6 +195,7 @@ class _SettingsScreenState extends State { ), ), _tile( + padding: EdgeInsets.symmetric(horizontal: 16), onTap: () { setState(() { updatesNotificationsSwitchState = !updatesNotificationsSwitchState; @@ -223,6 +224,7 @@ class _SettingsScreenState extends State { ), _divider(context), _tile( + padding: EdgeInsets.symmetric(horizontal: 16), onTap: () { setState(() { fillDiaryNotificationsSwitchState = !fillDiaryNotificationsSwitchState; @@ -251,6 +253,7 @@ class _SettingsScreenState extends State { ), _divider(context), _tile( + padding: EdgeInsets.symmetric(horizontal: 16), onTap: () { setState(() { moodSwitchState = !moodSwitchState; @@ -279,6 +282,7 @@ class _SettingsScreenState extends State { ), _divider(context), _tile( + padding: EdgeInsets.symmetric(horizontal: 16), onTap: () { setState(() { bedTimeSwitchState = !bedTimeSwitchState; @@ -397,8 +401,10 @@ class _SettingsScreenState extends State { required String title, required Function() onTap, Widget? trailing, + EdgeInsets? padding, }) { return ListTile( + contentPadding: padding, onTap: onTap, title: Text( title,