Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Swap Help & Support section order

ashilkn830587110795
diff --git a/mobile/apps/photos/lib/ui/settings/support/help_support_page.dart b/mobile/apps/photos/lib/ui/settings/support/help_support_page.dart
index 2faeecb76b..250a5a479f 100644
--- a/mobile/apps/photos/lib/ui/settings/support/help_support_page.dart
+++ b/mobile/apps/photos/lib/ui/settings/support/help_support_page.dart
@@ -65,56 +65,6 @@ class HelpSupportPage extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
- MenuSectionTitle(title: l10n.browseHelpPages),
- _buildHelpTopicItem(
- context,
- title: l10n.searchAndDiscovery,
- subText: l10n.searchAndDiscoveryDesc,
- icon: HugeIcons.strokeRoundedSearch01,
- faqUrl: _searchAndDiscoveryFaqUrl,
- ),
- const SizedBox(height: 8),
- _buildHelpTopicItem(
- context,
- title: l10n.backupAndSync,
- subText: l10n.backupAndSyncDesc,
- icon: HugeIcons.strokeRoundedCloudUpload,
- faqUrl: _backupAndSyncFaqUrl,
- ),
- const SizedBox(height: 8),
- _buildHelpTopicItem(
- context,
- title: l10n.sharingAndCollaboration,
- subText: l10n.sharingAndCollaborationDesc,
- icon: HugeIcons.strokeRoundedShare01,
- faqUrl: _sharingAndCollaborationFaqUrl,
- ),
- const SizedBox(height: 8),
- _buildHelpTopicItem(
- context,
- title: l10n.storageAndPlans,
- subText: l10n.storageAndPlansDesc,
- icon: HugeIcons.strokeRoundedHardDrive,
- faqUrl: _storageAndPlansFaqUrl,
- ),
- const SizedBox(height: 8),
- _buildHelpTopicItem(
- context,
- title: l10n.troubleshooting,
- subText: l10n.troubleshootingDesc,
- icon: HugeIcons.strokeRoundedWrench01,
- faqUrl: _troubleshootingFaqUrl,
- ),
- _SupportLink(
- label: l10n.viewAllHelpTopics,
- onTap: () async {
- await _openHelpPage(
- context,
- title: l10n.helpAndSupport,
- );
- },
- ),
- const SizedBox(height: 24),
MenuSectionTitle(title: l10n.getInTouch),
MenuItemWidgetNew(
title: l10n.reportAnIssue,
@@ -172,6 +122,56 @@ class HelpSupportPage extends StatelessWidget {
},
),
const SizedBox(height: 24),
+ MenuSectionTitle(title: l10n.browseHelpPages),
+ _buildHelpTopicItem(
+ context,
+ title: l10n.searchAndDiscovery,
+ subText: l10n.searchAndDiscoveryDesc,
+ icon: HugeIcons.strokeRoundedSearch01,
+ faqUrl: _searchAndDiscoveryFaqUrl,
+ ),
+ const SizedBox(height: 8),
+ _buildHelpTopicItem(
+ context,
+ title: l10n.backupAndSync,
+ subText: l10n.backupAndSyncDesc,
+ icon: HugeIcons.strokeRoundedCloudUpload,
+ faqUrl: _backupAndSyncFaqUrl,
+ ),
+ const SizedBox(height: 8),
+ _buildHelpTopicItem(
+ context,
+ title: l10n.sharingAndCollaboration,
+ subText: l10n.sharingAndCollaborationDesc,
+ icon: HugeIcons.strokeRoundedShare01,
+ faqUrl: _sharingAndCollaborationFaqUrl,
+ ),
+ const SizedBox(height: 8),
+ _buildHelpTopicItem(
+ context,
+ title: l10n.storageAndPlans,
+ subText: l10n.storageAndPlansDesc,
+ icon: HugeIcons.strokeRoundedHardDrive,
+ faqUrl: _storageAndPlansFaqUrl,
+ ),
+ const SizedBox(height: 8),
+ _buildHelpTopicItem(
+ context,
+ title: l10n.troubleshooting,
+ subText: l10n.troubleshootingDesc,
+ icon: HugeIcons.strokeRoundedWrench01,
+ faqUrl: _troubleshootingFaqUrl,
+ ),
+ _SupportLink(
+ label: l10n.viewAllHelpTopics,
+ onTap: () async {
+ await _openHelpPage(
+ context,
+ title: l10n.helpAndSupport,
+ );
+ },
+ ),
+ const SizedBox(height: 24),
],
),
),