Преглед изворни кода

added extra height to fields with a toggle button in settings to make spacing uniform

ashilkn пре 3 година
родитељ
комит
17e5966404

+ 2 - 2
lib/ui/settings/backup_section_widget.dart

@@ -55,7 +55,7 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
         ),
         SectionOptionDivider,
         SizedBox(
-          height: 36,
+          height: 48,
           child: Row(
             mainAxisAlignment: MainAxisAlignment.spaceBetween,
             children: [
@@ -75,7 +75,7 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
         ),
         SectionOptionDivider,
         SizedBox(
-          height: 36,
+          height: 48,
           child: Row(
             mainAxisAlignment: MainAxisAlignment.spaceBetween,
             children: [

+ 3 - 3
lib/ui/settings/security_section_widget.dart

@@ -66,7 +66,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
         [
           Padding(padding: EdgeInsets.all(2)),
           SizedBox(
-            height: 36,
+            height: 48,
             child: Row(
               mainAxisAlignment: MainAxisAlignment.spaceBetween,
               children: [
@@ -116,7 +116,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
     children.addAll([
       SectionOptionDivider,
       SizedBox(
-        height: 36,
+        height: 48,
         child: Row(
           mainAxisAlignment: MainAxisAlignment.spaceBetween,
           children: [
@@ -149,7 +149,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
         [
           SectionOptionDivider,
           SizedBox(
-            height: 36,
+            height: 48,
             child: Row(
               mainAxisAlignment: MainAxisAlignment.spaceBetween,
               children: [