Own bank List fixed

This commit is contained in:
2025-10-08 15:54:19 +05:30
parent 00cb98ae83
commit 32463680e8
5 changed files with 43 additions and 45 deletions

View File

@@ -65,7 +65,6 @@ class BeneficiaryDetailsScreen extends StatelessWidget {
TextButton(
child: const Text('Delete'),
onPressed: () {
//Navigator.of(context).pop();
_deleteBeneficiary(context);
},
),

View File

@@ -39,9 +39,8 @@ class _FundTransferBeneficiaryScreenState
setState(() {
_beneficiaries = data
.where((b) => widget.isOwnBank
? b.bankName ==
'THE KANGRA CENTRAL COOPERATIVE BANK LIMITED'
: b.bankName != 'THE KANGRA CENTRAL COOPERATIVE BANK LIMITED')
? b.bankName!.toLowerCase().contains('kangra central')
: !b.bankName!.toLowerCase().contains('kangra central'))
.toList();
_isLoading = false;
});