Merge pull request #340 from ente-io/app-icon-size-on-android
Minor fixes
This commit is contained in:
commit
5ed2669271
8 changed files with 23 additions and 22 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,15 +67,16 @@ class InfoSectionWidget extends StatelessWidget {
|
|||
},
|
||||
child: SettingsTextItem(text: "Privacy", icon: Icons.navigate_next),
|
||||
),
|
||||
SectionOptionDivider,
|
||||
sectionOptionDivider,
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
launch("https://github.com/ente-io/frame");
|
||||
launchUrl(Uri.parse("https://github.com/ente-io/frame"));
|
||||
},
|
||||
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