feat: integrate enakgame and voucher
Build & Deploy iOS to TestFlight / build-and-deploy (push) Waiting to run

This commit is contained in:
efrilm
2026-10-10 02:33:16 +07:00
parent e5515d5871
commit 38850b281f
104 changed files with 7122 additions and 8063 deletions
@@ -22,6 +22,9 @@ class WalletTransactionTile extends StatelessWidget {
Widget build(BuildContext context) {
final tx = transaction;
final color = signedAmountColor(tx.amount);
// Tipe baru yang belum dikenal app: description saja, tanpa label.
final isKnownType = tx.type != WalletTransactionType.unknown;
final title = isKnownType ? tx.type.label : tx.description;
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
@@ -47,10 +50,10 @@ class WalletTransactionTile extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
tx.type.label,
title,
style: AppStyle.md.copyWith(fontWeight: FontWeight.w700),
),
if (tx.description.isNotEmpty) ...[
if (isKnownType && tx.description.isNotEmpty) ...[
const SizedBox(height: 2),
Text(
tx.description,