Skip to content

armgit / ente

Public Imported from GitHub
0

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

[auth] fix copy

Aman Raj Singh Mouryab8f144132b99
diff --git a/auth/lib/l10n/arb/app_en.arb b/auth/lib/l10n/arb/app_en.arb
index 9f450d8de3..7950a3acba 100644
--- a/auth/lib/l10n/arb/app_en.arb
+++ b/auth/lib/l10n/arb/app_en.arb
@@ -506,7 +506,8 @@
"deleteDuplicates": "Delete duplicates",
"plainHTML": "Plain HTML",
"tellUsWhatYouThink": "Tell us what you think",
- "dropReview": "Drop a review on the App/Play Store",
+ "dropReviewiOS": "Drop a review on the App Store",
+ "dropReviewAndroid": "Drop a review on Play Store",
"supportEnte": "Support <bold-green>ente</bold-green>",
"giveUsAStarOnGithub": "Give us a star on Github",
"free5GB": "5GB free on <bold-green>ente</bold-green> Photos",
diff --git a/auth/lib/ui/settings/notification_banner_widget.dart b/auth/lib/ui/settings/notification_banner_widget.dart
index 9e6ab8f7b3..1c30dd2bbc 100644
--- a/auth/lib/ui/settings/notification_banner_widget.dart
+++ b/auth/lib/ui/settings/notification_banner_widget.dart
@@ -1,3 +1,5 @@
+import 'dart:io';
+
import 'package:ente_auth/core/configuration.dart';
import 'package:ente_auth/l10n/l10n.dart';
import 'package:ente_auth/models/user_details.dart';
@@ -35,7 +37,9 @@ class NotificationBannerWidget extends StatelessWidget {
[
BannerWidget(
text: l10n.tellUsWhatYouThink,
- subText: l10n.dropReview,
+ subText: Platform.isIOS
+ ? l10n.dropReviewiOS
+ : l10n.dropReviewAndroid,
type: BannerType.rateUs,
),
sectionSpacing,
@@ -84,7 +88,8 @@ class NotificationBannerWidget extends StatelessWidget {
[
BannerWidget(
text: l10n.tellUsWhatYouThink,
- subText: l10n.dropReview,
+ subText:
+ Platform.isIOS ? l10n.dropReviewiOS : l10n.dropReviewAndroid,
type: BannerType.rateUs,
),
sectionSpacing,