changed color theme to be black and added the ability to enter the amount in the recipient’s currency
This commit is contained in:
@@ -24,11 +24,12 @@ class TransactionRefButton extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = Theme.of(context).colorScheme;
|
||||
|
||||
final backgroundColor = isActive ? theme.primary : theme.onSecondary;
|
||||
final foregroundColor = isActive ? theme.onPrimary : theme.onPrimaryContainer;
|
||||
final hoverColor = isActive ? theme.primary : theme.secondaryContainer;
|
||||
final theme = Theme.of(context);
|
||||
final colorScheme = theme.colorScheme;
|
||||
final selectedBackground = colorScheme.onSecondary;
|
||||
final backgroundColor = isActive ? colorScheme.primary : selectedBackground;
|
||||
final hoverColor = isActive ? colorScheme.primary : colorScheme.surfaceContainerHighest;
|
||||
final foregroundColor = isActive ? colorScheme.onPrimary : colorScheme.primary;
|
||||
|
||||
return Material(
|
||||
color: backgroundColor,
|
||||
@@ -65,4 +66,4 @@ class TransactionRefButton extends StatelessWidget {
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user