removed payment methods page for now
This commit is contained in:
@@ -28,7 +28,6 @@ class PayoutSidebar extends StatelessWidget {
|
||||
final String? avatarUrl;
|
||||
final List<PayoutDestination>? items;
|
||||
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final accountName = context.select<AccountProvider, String?>(
|
||||
@@ -40,13 +39,15 @@ class PayoutSidebar extends StatelessWidget {
|
||||
final resolvedUserName = userName ?? accountName;
|
||||
final resolvedAvatarUrl = avatarUrl ?? accountAvatar;
|
||||
|
||||
final menuItems = items ??
|
||||
final menuItems =
|
||||
items ??
|
||||
<PayoutDestination>[
|
||||
PayoutDestination.dashboard,
|
||||
PayoutDestination.recipients,
|
||||
PayoutDestination.invitations,
|
||||
PayoutDestination.methods,
|
||||
//PayoutDestination.reports,
|
||||
// PayoutDestination.methods,
|
||||
// PayoutDestination.reports,
|
||||
// PayoutDestination.organizationSettings,
|
||||
//TODO Add when ready
|
||||
];
|
||||
|
||||
@@ -56,11 +57,11 @@ class PayoutSidebar extends StatelessWidget {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
UserProfileCard(
|
||||
theme: theme,
|
||||
avatarUrl: resolvedAvatarUrl,
|
||||
userName: resolvedUserName,
|
||||
selected: selected,
|
||||
onSelected: onSelected
|
||||
theme: theme,
|
||||
avatarUrl: resolvedAvatarUrl,
|
||||
userName: resolvedUserName,
|
||||
selected: selected,
|
||||
onSelected: onSelected,
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
SideMenuColumn(
|
||||
|
||||
Reference in New Issue
Block a user