Minor Changes of const and bank logos

This commit is contained in:
2025-08-12 13:19:24 +05:30
parent 82951b7919
commit 7f5258b5b7
34 changed files with 166 additions and 840 deletions

View File

@@ -55,6 +55,7 @@ class _TpinSetScreenState extends State<TpinSetScreen> {
await authService.setTpin(pin);
} catch (e) {
setState(() {
// ignore: unnecessary_string_interpolations
_errorText = "${AppLocalizations.of(context).tpinFailed}";
_tpin.clear();
});
@@ -71,11 +72,11 @@ class _TpinSetScreenState extends State<TpinSetScreen> {
),
title: Column(
children: [
Icon(Icons.check_circle, color: Colors.green, size: 60),
SizedBox(height: 12),
const Icon(Icons.check_circle, color: Colors.green, size: 60),
const SizedBox(height: 12),
Text(
AppLocalizations.of(context).success,
style: TextStyle(fontWeight: FontWeight.bold),
style: const TextStyle(fontWeight: FontWeight.bold),
),
],
),
@@ -90,7 +91,7 @@ class _TpinSetScreenState extends State<TpinSetScreen> {
},
child: Text(
AppLocalizations.of(context).ok,
style: TextStyle(fontSize: 16),
style: const TextStyle(fontSize: 16),
),
),
],