Explorar el Código

add missing bottom spacing for account section in settings

ashilkn hace 2 años
padre
commit
623be0d1aa

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

@@ -6,9 +6,11 @@ typedef OnChangedCallBack = void Function(bool);
 class ToggleSwitchWidget extends StatefulWidget {
 class ToggleSwitchWidget extends StatefulWidget {
   final bool value;
   final bool value;
   final OnChangedCallBack onChanged;
   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
   @override
   State<ToggleSwitchWidget> createState() => _ToggleSwitchWidgetState();
   State<ToggleSwitchWidget> createState() => _ToggleSwitchWidgetState();

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

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