diff --git a/lib/api/services/imps_service.dart b/lib/api/services/imps_service.dart index a2c2c2c..937696b 100644 --- a/lib/api/services/imps_service.dart +++ b/lib/api/services/imps_service.dart @@ -29,5 +29,3 @@ class ImpsService { } } } - - diff --git a/lib/config/themes.dart b/lib/config/themes.dart index 4569b93..d34083c 100644 --- a/lib/config/themes.dart +++ b/lib/config/themes.dart @@ -35,4 +35,3 @@ class AppThemes { ); } } - diff --git a/lib/features/accounts/screens/account_statement_screen.dart b/lib/features/accounts/screens/account_statement_screen.dart index 7917e5d..9c8cc68 100644 --- a/lib/features/accounts/screens/account_statement_screen.dart +++ b/lib/features/accounts/screens/account_statement_screen.dart @@ -281,21 +281,21 @@ class _AccountStatementScreen extends State { tx.type == 'CR' ? Colors.green : Colors.red, ), title: Text( - tx.date ?? '', - style: const TextStyle(fontSize: 15), - ), - subtitle: Text( - tx.name != null - ? (tx.name!.length > 18 - ? tx.name!.substring(0, 22) - : tx.name!) - : '', - style: const TextStyle(fontSize: 12), - ), - trailing: Text( - "₹${tx.amount}", - style: const TextStyle(fontSize: 17), - ), + tx.date ?? '', + style: const TextStyle(fontSize: 15), + ), + subtitle: Text( + tx.name != null + ? (tx.name!.length > 18 + ? tx.name!.substring(0, 22) + : tx.name!) + : '', + style: const TextStyle(fontSize: 12), + ), + trailing: Text( + "₹${tx.amount}", + style: const TextStyle(fontSize: 17), + ), onTap: () { Navigator.push( context, @@ -308,8 +308,8 @@ class _AccountStatementScreen extends State { ); }, separatorBuilder: (context, index) { - return const Divider(); - }, + return const Divider(); + }, ), ), ], diff --git a/lib/features/dashboard/screens/dashboard_screen.dart b/lib/features/dashboard/screens/dashboard_screen.dart index 4704ffb..1eb68a2 100644 --- a/lib/features/dashboard/screens/dashboard_screen.dart +++ b/lib/features/dashboard/screens/dashboard_screen.dart @@ -576,7 +576,7 @@ class _DashboardScreenState extends State { style: const TextStyle(fontSize: 15), ), subtitle: Text( - tx.name != null + tx.name != null ? (tx.name!.length > 18 ? tx.name!.substring(0, 22) : tx.name!) diff --git a/lib/features/dashboard/widgets/account_card.dart b/lib/features/dashboard/widgets/account_card.dart index 0669481..4a66715 100644 --- a/lib/features/dashboard/widgets/account_card.dart +++ b/lib/features/dashboard/widgets/account_card.dart @@ -50,7 +50,7 @@ class AccountCard extends StatelessWidget { Text( account.accountNumber, style: TextStyle( - color:Theme.of(context).scaffoldBackgroundColor, fontSize: 16), + color: Theme.of(context).scaffoldBackgroundColor, fontSize: 16), ), const SizedBox(height: 30), Text(