Hide discount for iOS users
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
"incorrectPassword": "Incorrect password",
|
||||
"welcomeBackTitle": "Welcome back!",
|
||||
"madeWithLoveAtPrefix": "made with ❤️ at ",
|
||||
"supportDevs" : "Subscribe to ente Photos to support this project.",
|
||||
"supportDevs" : "You can subscribe to ente Photos to support this project.",
|
||||
"supportDiscount" : "Use coupon code \"AUTH\" to get 10% off in the first year.",
|
||||
"changeEmail": "change email",
|
||||
"ok": "OK",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:ente_auth/l10n/l10n.dart';
|
||||
import 'package:ente_auth/models/subscription.dart';
|
||||
import 'package:ente_auth/services/billing_service.dart';
|
||||
@@ -28,7 +30,7 @@ class SupportDevWidget extends StatelessWidget {
|
||||
padding:
|
||||
const EdgeInsets.symmetric(vertical: 12.0, horizontal: 6),
|
||||
child: Text(
|
||||
"${l10n.supportDevs}\n\n${l10n.supportDiscount}",
|
||||
"${l10n.supportDevs}${Platform.isAndroid ? "\n\n${l10n.supportDiscount}" : ""}",
|
||||
textAlign: TextAlign.center,
|
||||
style: DefaultTextStyle.of(context).style,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user