Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Match the ML Cancel link to the old Cancel label

r4khul09601cb0bf1f
diff --git a/mobile/apps/photos/lib/ui/settings/ml/ml_consent_sheet.dart b/mobile/apps/photos/lib/ui/settings/ml/ml_consent_sheet.dart
index c2b8e95eef..485c613986 100644
--- a/mobile/apps/photos/lib/ui/settings/ml/ml_consent_sheet.dart
+++ b/mobile/apps/photos/lib/ui/settings/ml/ml_consent_sheet.dart
@@ -221,7 +221,7 @@ class MLConsentCancelLink extends StatelessWidget {
Widget build(BuildContext context) {
final color = onTap == null
? context.componentColors.textLightest
- : context.componentColors.textLight;
+ : context.componentColors.textBase;
return Semantics(
button: true,
enabled: onTap != null,
@@ -233,8 +233,9 @@ class MLConsentCancelLink extends StatelessWidget {
child: Center(
child: Text(
context.strings.cancel,
- style: TextStyles.bodyLink.copyWith(
+ style: TextStyles.bodyBold.copyWith(
color: color,
+ decoration: TextDecoration.underline,
decorationColor: color,
),
),