Browse Source

add missing bottom spacing for account section in settings

ashilkn 2 years ago
parent
commit
623be0d1aa

+ 5 - 3
lib/ui/components/toggle_switch_widget.dart

@@ -6,9 +6,11 @@ typedef OnChangedCallBack = void Function(bool);
 class ToggleSwitchWidget extends StatefulWidget {
   final bool value;
   final OnChangedCallBack onChanged;
-  const ToggleSwitchWidget(
-      {required this.value, required this.onChanged, Key? key})
-      : super(key: key);
+  const ToggleSwitchWidget({
+    required this.value,
+    required this.onChanged,
+    Key? key,
+  }) : super(key: key);
 
   @override
   State<ToggleSwitchWidget> createState() => _ToggleSwitchWidgetState();

+ 1 - 0
lib/ui/settings/account_section_widget.dart

@@ -113,6 +113,7 @@ class AccountSectionWidget extends StatelessWidget {
             }
           },
         ),
+        sectionOptionSpacing,
       ],
     );
   }