Localization Changes #7

This commit is contained in:
2025-09-11 15:27:05 +05:30
parent 188fbe9bb1
commit b03e917d78
4 changed files with 50 additions and 49 deletions

View File

@@ -65,7 +65,8 @@ Dio _createDioClient() {
final dio = Dio(
BaseOptions(
baseUrl:
'http://lb-test-mobile-banking-app-192209417.ap-south-1.elb.amazonaws.com:8080',
//'http://lb-test-mobile-banking-app-192209417.ap-south-1.elb.amazonaws.com:8080',
'http://lb-kccb-mobile-banking-app-848675342.ap-south-1.elb.amazonaws.com:8080/',
//'http://localhost:8081',
// 'http://localhost:8082',
connectTimeout: const Duration(seconds: 5),

View File

@@ -45,7 +45,7 @@ class TpinSetupPromptScreen extends StatelessWidget {
const TextStyle(fontSize: 18, fontWeight: FontWeight.w600),
),
style: ElevatedButton.styleFrom(
backgroundColor: theme.colorScheme.primary,
backgroundColor: theme.colorScheme.onPrimary,
padding: const EdgeInsets.symmetric(
vertical: 14,
horizontal: 32,

View File

@@ -17,13 +17,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();