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,9 +65,9 @@ Dio _createDioClient() {
final dio = Dio(
BaseOptions(
baseUrl:
'http://lb-test-mobile-banking-app-192209417.ap-south-1.elb.amazonaws.com:8080', //test
//'http://lb-test-mobile-banking-app-192209417.ap-south-1.elb.amazonaws.com:8080', //test
//'http://lb-kccb-mobile-banking-app-848675342.ap-south-1.elb.amazonaws.com', //prod
//'https://kccbmbnk.net',
'https://kccbmbnk.net',
connectTimeout: const Duration(seconds: 60),
receiveTimeout: const Duration(seconds: 60),
headers: {

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;
});

View File

@@ -16,13 +16,13 @@ void main() async {
]);
// Check for device compromise
//final compromisedMessage = await SecurityService.deviceCompromisedMessage;
// if (compromisedMessage != null) {
// runApp(MaterialApp(
// home: SecurityErrorScreen(message: compromisedMessage),
// ));
// return;
// }
final compromisedMessage = await SecurityService.deviceCompromisedMessage;
if (compromisedMessage != null) {
runApp(MaterialApp(
home: SecurityErrorScreen(message: compromisedMessage),
));
return;
}
// Initialize dependencies
await setupDependencies();