diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index 6614a3221..54aea7079 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -70,7 +70,7 @@ "incorrectPasswordTitle": "Incorrect password", "welcomeBack": "Welcome back!", "madeWithLoveAtPrefix": "made with ❤️ at ", - "supportDevs": "Subscribe to ente to support this project.", + "supportDevs": "Subscribe to ente to support this project", "supportDiscount": "Use coupon code \"AUTH\" to get 10% off first year", "changeEmail": "Change email", "changePassword": "Change password", diff --git a/lib/ui/settings/support_dev_widget.dart b/lib/ui/settings/support_dev_widget.dart index d0edd4e70..0a28352b1 100644 --- a/lib/ui/settings/support_dev_widget.dart +++ b/lib/ui/settings/support_dev_widget.dart @@ -39,37 +39,36 @@ class SupportDevWidget extends StatelessWidget { GestureDetector buildWidget(AppLocalizations l10n, BuildContext context) { return GestureDetector( - onTap: () { - launchUrl(Uri.parse("https://ente.io")); - }, - child: Padding( - padding: - const EdgeInsets.symmetric(vertical: 12.0, horizontal: 6), - child: Column( - children: [ - StyledText( - text: l10n.supportDevs, - style: getEnteTextTheme(context).large, - tags: { - 'bold-green': StyledTextTag( - style: TextStyle( - fontWeight: FontWeight.bold, - color: getEnteColorScheme(context).primaryGreen, - ), - ), - }, - ), - const Padding(padding: EdgeInsets.all(6)), - Text( - l10n.supportDiscount, - textAlign: TextAlign.center, - style: const TextStyle( - color: Colors.grey, - ), - ) - ], + onTap: () { + launchUrl(Uri.parse("https://ente.io")); + }, + child: Padding( + padding: const EdgeInsets.symmetric(vertical: 12.0, horizontal: 6), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + StyledText( + text: l10n.supportDevs, + style: getEnteTextTheme(context).large, + tags: { + 'bold-green': StyledTextTag( + style: TextStyle( + fontWeight: FontWeight.bold, + color: getEnteColorScheme(context).primaryGreen, + ), ), + }, + ), + const Padding(padding: EdgeInsets.all(6)), + Text( + l10n.supportDiscount, + style: const TextStyle( + color: Colors.grey, ), - ); + ), + ], + ), + ), + ); } }