Own bank List fixed
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -65,7 +65,6 @@ class BeneficiaryDetailsScreen extends StatelessWidget {
|
||||
TextButton(
|
||||
child: const Text('Delete'),
|
||||
onPressed: () {
|
||||
//Navigator.of(context).pop();
|
||||
_deleteBeneficiary(context);
|
||||
},
|
||||
),
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user