Skip to content

Commit

Permalink
style: monotype color and labels
Browse files Browse the repository at this point in the history
  • Loading branch information
parodyBit committed Oct 30, 2024
2 parents f8cd95d + 6bc4e19 commit 30fd778
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions lib/widgets/transaction_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,8 @@ class TransactionDetails extends StatelessWidget {

return ClosableView(
closeSetting: goToList,
title: localization.transactionDetails,
title: transactionType(transaction.type),
children: [
Text(
transactionType(transaction.type),
style: theme.textTheme.titleLarge,
),
SizedBox(height: 12),
ContainerBackground(
padding: 22,
content: Column(
Expand Down Expand Up @@ -208,7 +203,10 @@ class TransactionDetails extends StatelessWidget {
children: [
Text(
transaction.txnHash.cropMiddle(14),
style: extendedTheme.monoRegularText,
style: extendedTheme.monoRegularText
?.copyWith(
color: theme
.textTheme.bodyMedium?.color),
),
SizedBox(
width: 8,
Expand Down Expand Up @@ -308,7 +306,12 @@ class TransactionDetails extends StatelessWidget {
.cropAddress(
12),
style: extendedTheme
.monoRegularText,
.monoRegularText
?.copyWith(
color: theme
.textTheme
.bodyMedium
?.color),
),
SizedBox(
width: 8,
Expand All @@ -330,7 +333,10 @@ class TransactionDetails extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.end,
children: [
Icon(FontAwesomeIcons.circleArrowDown),
Icon(
FontAwesomeIcons.circleArrowDown,
color: theme.textTheme.bodyMedium?.color,
),
SizedBox(width: 96),
]),
SizedBox(
Expand All @@ -357,7 +363,10 @@ class TransactionDetails extends StatelessWidget {
transactionUtils
.getRecipientAddress()
.cropAddress(12),
style: extendedTheme.monoRegularText,
style: extendedTheme.monoRegularText
?.copyWith(
color: theme
.textTheme.bodyMedium?.color),
),
SizedBox(
width: 8,
Expand Down

0 comments on commit 30fd778

Please sign in to comment.