Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile] Refine More from Ente section (#11726)

neeraj-pilotc7fac2ec1287
diff --git a/mobile/apps/auth/lib/ui/settings/more_from_ente_section.dart b/mobile/apps/auth/lib/ui/settings/more_from_ente_section.dart
index 3446bfcb34..aa29e865f2 100644
--- a/mobile/apps/auth/lib/ui/settings/more_from_ente_section.dart
+++ b/mobile/apps/auth/lib/ui/settings/more_from_ente_section.dart
@@ -120,7 +120,7 @@ class _EnteAppLink extends StatelessWidget {
children: [
Material(
key: ValueKey('more-from-ente-${app.name}'),
- type: MaterialType.transparency,
+ color: colors.fillLight,
borderRadius: BorderRadius.circular(_appRadius),
clipBehavior: Clip.antiAlias,
child: InkWell(
diff --git a/mobile/apps/auth/lib/ui/settings_page.dart b/mobile/apps/auth/lib/ui/settings_page.dart
index cc94715f01..fe03b1be4c 100644
--- a/mobile/apps/auth/lib/ui/settings_page.dart
+++ b/mobile/apps/auth/lib/ui/settings_page.dart
@@ -158,28 +158,22 @@ class SettingsPage extends StatelessWidget {
]);
}
- final showMoreFromEnte = Platform.isIOS || Platform.isAndroid;
- if (showMoreFromEnte) {
- contents.addAll([
- const SizedBox(height: 40),
- MoreFromEnteSection(
- currentApp: ComponentApp.auth,
- moreFromLabel: context.strings.moreFrom,
- onAppTap: (app) {
- launchUrlString(
- moreFromEnteUri(
- sourceApp: ComponentApp.auth,
- destinationApp: app,
- ).toString(),
- mode: LaunchMode.externalApplication,
- ).ignore();
- },
- ),
- ]);
- }
-
contents.addAll([
- SizedBox(height: showMoreFromEnte ? 40 : Spacing.xxl),
+ const SizedBox(height: 40),
+ MoreFromEnteSection(
+ currentApp: ComponentApp.auth,
+ moreFromLabel: context.strings.moreFrom,
+ onAppTap: (app) {
+ launchUrlString(
+ moreFromEnteUri(
+ sourceApp: ComponentApp.auth,
+ destinationApp: app,
+ ).toString(),
+ mode: LaunchMode.externalApplication,
+ ).ignore();
+ },
+ ),
+ const SizedBox(height: 40),
const SocialIconsRow(),
const SizedBox(height: Spacing.md),
const AppVersionWidget(),