소스 검색

add missing bottom spacing for account section in settings

ashilkn 2 년 전
부모
커밋
623be0d1aa
2개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      lib/ui/components/toggle_switch_widget.dart
  2. 1 0
      lib/ui/settings/account_section_widget.dart

+ 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,
       ],
     );
   }