hidding some buttons that are not working

This commit is contained in:
José Salazar
2026-01-27 15:48:44 -05:00
parent e38c13e61a
commit 36ac26411a
3 changed files with 9 additions and 59 deletions

View File

@@ -22,22 +22,7 @@ class InvoiceHistorySection extends StatelessWidget {
t.client_billing.invoice_history,
style: UiTypography.title2b.textPrimary,
),
GestureDetector(
onTap: () {},
child: Row(
children: <Widget>[
Text(
t.client_billing.view_all,
style: UiTypography.footnote2b.textPrimary,
),
const Icon(
UiIcons.chevronRight,
size: 16,
color: UiColors.primary,
),
],
),
),
const SizedBox.shrink(),
],
),
const SizedBox(height: UiConstants.space2),
@@ -117,8 +102,7 @@ class _InvoiceItem extends StatelessWidget {
_StatusBadge(status: invoice.status),
],
),
const SizedBox(width: UiConstants.space2),
const Icon(UiIcons.download, size: 16, color: UiColors.iconSecondary),
const SizedBox.shrink(),
],
),
);

View File

@@ -69,29 +69,13 @@ class _PaymentMethodCardState extends State<PaymentMethodCard> {
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Text(
t.client_billing.payment_method,
style: UiTypography.title2b.textPrimary,
),
GestureDetector(
onTap: () {},
child: Row(
children: <Widget>[
const Icon(
UiIcons.add,
size: 14,
color: UiColors.primary,
),
const SizedBox(width: 4),
Text(
t.client_billing.add_payment,
style: UiTypography.footnote2b.textPrimary,
),
],
),
),
],
Text(
t.client_billing.payment_method,
style: UiTypography.title2b.textPrimary,
),
const SizedBox.shrink(),
],
),
if (account != null) ...<Widget>[
const SizedBox(height: UiConstants.space3),
Container(

View File

@@ -50,25 +50,7 @@ class SavingsCard extends StatelessWidget {
style: UiTypography.footnote2r.textSecondary,
),
const SizedBox(height: UiConstants.space2),
SizedBox(
height: 28,
child: ElevatedButton(
onPressed: () {},
style: ElevatedButton.styleFrom(
backgroundColor: UiColors.primary,
foregroundColor: UiColors.white,
elevation: 0,
padding: const EdgeInsets.symmetric(
horizontal: UiConstants.space3,
),
shape: RoundedRectangleBorder(
borderRadius: UiConstants.radiusMd,
),
textStyle: UiTypography.footnote2b,
),
child: Text(t.client_billing.view_details),
),
),
const SizedBox.shrink(),
],
),
),