diff --git a/lib/core/styles/app_text.dart b/lib/core/styles/app_text.dart index f527201..1594a79 100644 --- a/lib/core/styles/app_text.dart +++ b/lib/core/styles/app_text.dart @@ -273,6 +273,7 @@ class AppText { static const String balanceText = "Balance"; static const String applePayText = "Apple Pay"; static const String gPayText = "Gpay Pay"; + static const String bankTransferText = "Directly transfer funds from your bank account into your Tanami wallet."; static const String instantTransferFundsApplePayText = "Instant transfer of funds using Apple Pay!"; static const String instantTransferFundsGpayPayText = diff --git a/lib/features/MainScreens/Wallet/presentation/widgets/deposit_pay_method_section.dart b/lib/features/MainScreens/Wallet/presentation/widgets/deposit_pay_method_section.dart index d9286dc..87432c3 100644 --- a/lib/features/MainScreens/Wallet/presentation/widgets/deposit_pay_method_section.dart +++ b/lib/features/MainScreens/Wallet/presentation/widgets/deposit_pay_method_section.dart @@ -2,7 +2,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:gap/gap.dart'; -import 'package:google_fonts/google_fonts.dart'; import 'package:tanami_app/core/styles/app_images.dart'; import 'package:tanami_app/core/styles/app_text.dart'; import 'package:tanami_app/shared/components/text_widget.dart'; @@ -84,43 +83,17 @@ class DepositPayMethodSection extends StatelessWidget { const Gap(5), SvgPicture.asset(AppImages.walletIcon), const Gap(5), - TextWidget().text14W700(AppText.walletText, + TextWidget().text14W700(AppText.bankTransfer, clr: AppColor.textLabelColor), ], ), - Row( - children: [ - RichText( - text: TextSpan( - children: [ - TextSpan( - text: '${AppText.balanceText}: ', - style: GoogleFonts.dmSans( - color: Colors.grey, - fontSize: 12.0, - fontWeight: FontWeight.bold, - ), - ), - TextSpan( - text: 'SAR 178,000', - style: GoogleFonts.dmSans( - color: Colors.black, - fontSize: 14.0, - fontWeight: FontWeight.bold, - ), - ), - ], - ), - ), - ], - ), ], ), ), Padding( padding: const EdgeInsets.all(12), child: TextWidget().text14W500( - "condimentum ac, vestibulum eu nisl.torquent per conubia nostra, per inceptos himenaeos.", + AppText.bankTransferText, clr: AppColor.textLabelColor, txtAlign: TextAlign.start, ),