padding fix for 'Check for updates' in 'About'
This commit is contained in:
parent
9577768c8d
commit
4f3756e601
8 changed files with 22 additions and 21 deletions
|
@ -70,7 +70,7 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
child:
|
||||
SettingsTextItem(text: "Recovery key", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
|
@ -95,7 +95,7 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
child:
|
||||
SettingsTextItem(text: "Change email", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
|
|
|
@ -55,7 +55,7 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
|
|||
icon: Icons.navigate_next,
|
||||
),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
SizedBox(
|
||||
height: 48,
|
||||
child: Row(
|
||||
|
@ -75,7 +75,7 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
|
|||
],
|
||||
),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
SizedBox(
|
||||
height: 48,
|
||||
child: Row(
|
||||
|
@ -98,7 +98,7 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
|
|||
];
|
||||
if (Platform.isIOS) {
|
||||
sectionOptions.addAll([
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
SizedBox(
|
||||
height: 48,
|
||||
child: Row(
|
||||
|
@ -134,7 +134,7 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
|
|||
}
|
||||
sectionOptions.addAll(
|
||||
[
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
|
@ -168,7 +168,7 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
|
|||
icon: Icons.navigate_next,
|
||||
),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
|
|
|
@ -4,7 +4,7 @@ import 'package:expandable/expandable.dart';
|
|||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
Widget SectionOptionDivider = Padding(
|
||||
Widget sectionOptionDivider = Padding(
|
||||
padding: EdgeInsets.all(Platform.isIOS ? 4 : 2),
|
||||
);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class _DangerSectionWidgetState extends State<DangerSectionWidget> {
|
|||
},
|
||||
child: SettingsTextItem(text: "Logout", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () {
|
||||
|
|
|
@ -39,7 +39,7 @@ class InfoSectionWidget extends StatelessWidget {
|
|||
},
|
||||
child: SettingsTextItem(text: "FAQ", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () {
|
||||
|
@ -53,7 +53,7 @@ class InfoSectionWidget extends StatelessWidget {
|
|||
},
|
||||
child: SettingsTextItem(text: "Terms", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () {
|
||||
|
@ -67,7 +67,7 @@ class InfoSectionWidget extends StatelessWidget {
|
|||
},
|
||||
child: SettingsTextItem(text: "Privacy", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
|
@ -76,6 +76,7 @@ class InfoSectionWidget extends StatelessWidget {
|
|||
child:
|
||||
SettingsTextItem(text: "Source code", icon: Icons.navigate_next),
|
||||
),
|
||||
sectionOptionDivider,
|
||||
UpdateService.instance.isIndependent()
|
||||
? Column(
|
||||
children: [
|
||||
|
@ -109,7 +110,7 @@ class InfoSectionWidget extends StatelessWidget {
|
|||
),
|
||||
],
|
||||
)
|
||||
: Container(),
|
||||
: const SizedBox.shrink(),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|||
);
|
||||
}
|
||||
children.addAll([
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
SizedBox(
|
||||
height: 48,
|
||||
child: Row(
|
||||
|
@ -150,7 +150,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|||
if (Platform.isAndroid) {
|
||||
children.addAll(
|
||||
[
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
SizedBox(
|
||||
height: 48,
|
||||
child: Row(
|
||||
|
@ -246,7 +246,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|||
);
|
||||
}
|
||||
children.addAll([
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
|
|
|
@ -30,7 +30,7 @@ class SocialSectionWidget extends StatelessWidget {
|
|||
},
|
||||
child: SettingsTextItem(text: "Twitter", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () {
|
||||
|
@ -38,7 +38,7 @@ class SocialSectionWidget extends StatelessWidget {
|
|||
},
|
||||
child: SettingsTextItem(text: "Discord", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () {
|
||||
|
@ -50,7 +50,7 @@ class SocialSectionWidget extends StatelessWidget {
|
|||
if (!UpdateService.instance.isIndependent()) {
|
||||
options.addAll(
|
||||
[
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () {
|
||||
|
|
|
@ -43,7 +43,7 @@ class SupportSectionWidget extends StatelessWidget {
|
|||
},
|
||||
child: SettingsTextItem(text: "Email", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () {
|
||||
|
@ -63,7 +63,7 @@ class SupportSectionWidget extends StatelessWidget {
|
|||
},
|
||||
child: SettingsTextItem(text: "Roadmap", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
|
|
Loading…
Add table
Reference in a new issue