changed color theme to be black and added the ability to enter the amount in the recipient’s currency
This commit is contained in:
@@ -37,8 +37,9 @@ class SideMenuColumn extends StatelessWidget {
|
||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||
children: items.map((item) {
|
||||
final isSelected = item == selected;
|
||||
final selectedBackground = theme.colorScheme.surfaceContainerHighest;
|
||||
final backgroundColor = isSelected
|
||||
? theme.colorScheme.primaryContainer
|
||||
? selectedBackground
|
||||
: Colors.transparent;
|
||||
|
||||
return Padding(
|
||||
@@ -54,7 +55,7 @@ class SideMenuColumn extends StatelessWidget {
|
||||
unawaited(PosthogService.pageOpened(item, uiSource: 'sidebar'));
|
||||
},
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
hoverColor: theme.colorScheme.primaryContainer,
|
||||
hoverColor: selectedBackground,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 30, vertical: 12),
|
||||
child: Row(
|
||||
|
||||
@@ -41,15 +41,15 @@ class PayoutSidebar extends StatelessWidget {
|
||||
|
||||
final menuItems =
|
||||
items ??
|
||||
<PayoutDestination>[
|
||||
PayoutDestination.dashboard,
|
||||
PayoutDestination.recipients,
|
||||
PayoutDestination.invitations,
|
||||
PayoutDestination.reports,
|
||||
<PayoutDestination>[
|
||||
PayoutDestination.dashboard,
|
||||
PayoutDestination.recipients,
|
||||
PayoutDestination.invitations,
|
||||
PayoutDestination.reports,
|
||||
// PayoutDestination.methods,
|
||||
// PayoutDestination.organizationSettings,
|
||||
//TODO Add when ready
|
||||
];
|
||||
//TODO Add when ready
|
||||
];
|
||||
|
||||
final theme = Theme.of(context);
|
||||
|
||||
|
||||
@@ -25,8 +25,9 @@ class UserProfileCard extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
final loc = AppLocalizations.of(context)!;
|
||||
bool isSelected = selected == PayoutDestination.settings;
|
||||
final selectedBackground = theme.colorScheme.surfaceContainerHighest;
|
||||
final backgroundColor = isSelected
|
||||
? theme.colorScheme.primaryContainer
|
||||
? selectedBackground
|
||||
: Colors.transparent;
|
||||
|
||||
return Material(
|
||||
|
||||
Reference in New Issue
Block a user