Skip to content

Commit

Permalink
Change payment received text to be consistent with other titles
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Nov 25, 2024
1 parent 29ce50c commit 9ae0b8d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'package:breez_translations/breez_translations_locales.dart';
import 'package:breez_translations/generated/breez_translations.dart';
import 'package:flutter/material.dart';
import 'package:l_breez/theme/src/theme.dart';
import 'package:lottie/lottie.dart';
Expand All @@ -9,7 +7,6 @@ class PaymentReceivedContent extends StatelessWidget {

@override
Widget build(BuildContext context) {
final BreezTranslations texts = context.texts();
final ThemeData themeData = Theme.of(context);

return Column(
Expand All @@ -18,7 +15,8 @@ class PaymentReceivedContent extends StatelessWidget {
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Text(
texts.successful_payment_received,
// TODO(erdemyerebasmaz): Add these messages to Breez-Translations
'Payment Received',
style: themeData.dialogTheme.titleTextStyle!.copyWith(
fontSize: 24.0,
color: themeData.isLightTheme ? null : Colors.white,
Expand Down

0 comments on commit 9ae0b8d

Please sign in to comment.