removed payment methods page for now

This commit is contained in:
Arseni
2026-02-05 15:36:43 +03:00
parent fb9def8c19
commit d3e69bcd62
11 changed files with 125 additions and 44 deletions

View File

@@ -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(