transaction details bug fixed

This commit is contained in:
2025-09-17 17:35:56 +05:30
parent b1f4d380c6
commit b3b51d423d
2 changed files with 2 additions and 2 deletions

View File

@@ -287,7 +287,7 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
), ),
subtitle: Text( subtitle: Text(
tx.name != null tx.name != null
? (tx.name!.length > 18 ? (tx.name!.length > 22
? tx.name!.substring(0, 22) ? tx.name!.substring(0, 22)
: tx.name!) : tx.name!)
: '', : '',

View File

@@ -587,7 +587,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
), ),
subtitle: Text( subtitle: Text(
tx.name != null tx.name != null
? (tx.name!.length > 18 ? (tx.name!.length > 22
? tx.name!.substring(0, 22) ? tx.name!.substring(0, 22)
: tx.name!) : tx.name!)
: '', : '',