Add export, shop and renamed faq seciton
This commit is contained in:
parent
3ea4574b8c
commit
c062989903
3 changed files with 16 additions and 1 deletions
|
@ -15,6 +15,7 @@ import 'package:photos/ui/components/menu_item_widget/menu_item_widget.dart';
|
|||
import 'package:photos/ui/settings/common_settings.dart';
|
||||
import 'package:photos/utils/dialog_util.dart';
|
||||
import 'package:photos/utils/navigation_util.dart';
|
||||
import "package:url_launcher/url_launcher_string.dart";
|
||||
|
||||
class AccountSectionWidget extends StatelessWidget {
|
||||
const AccountSectionWidget({Key? key}) : super(key: key);
|
||||
|
@ -124,6 +125,18 @@ class AccountSectionWidget extends StatelessWidget {
|
|||
},
|
||||
),
|
||||
sectionOptionSpacing,
|
||||
MenuItemWidget(
|
||||
captionedTextWidget: const CaptionedTextWidget(
|
||||
title: "Export your data ",
|
||||
),
|
||||
pressedColor: getEnteColorScheme(context).fillFaint,
|
||||
trailingIcon: Icons.chevron_right_outlined,
|
||||
trailingIconIsMuted: true,
|
||||
onTap: () async {
|
||||
launchUrlString("https://ente.io/faq/migration/out-of-ente/");
|
||||
},
|
||||
),
|
||||
sectionOptionSpacing,
|
||||
MenuItemWidget(
|
||||
captionedTextWidget: const CaptionedTextWidget(
|
||||
title: "Logout",
|
||||
|
|
|
@ -34,6 +34,8 @@ class SocialSectionWidget extends StatelessWidget {
|
|||
[
|
||||
const SocialsMenuItemWidget("Blog", "https://ente.io/blog"),
|
||||
sectionOptionSpacing,
|
||||
const SocialsMenuItemWidget("Merchandise", "https://shop.ente.io"),
|
||||
sectionOptionSpacing,
|
||||
const SocialsMenuItemWidget("Twitter", "https://twitter.com/enteio"),
|
||||
sectionOptionSpacing,
|
||||
const SocialsMenuItemWidget("Mastodon", "https://mstdn.social/@ente"),
|
||||
|
|
|
@ -43,7 +43,7 @@ class SupportSectionWidget extends StatelessWidget {
|
|||
),
|
||||
sectionOptionSpacing,
|
||||
const AboutMenuItemWidget(
|
||||
title: "Frequently asked questions",
|
||||
title: "FAQ",
|
||||
url: "https://ente.io/faq",
|
||||
),
|
||||
sectionOptionSpacing,
|
||||
|
|
Loading…
Add table
Reference in a new issue