111
This commit is contained in:
@@ -211,19 +211,6 @@ class _ActionButtons extends StatelessWidget {
|
||||
onTap: () => _showTransferDialog(context),
|
||||
),
|
||||
),
|
||||
SizedBox(width: AppSpacing.sm),
|
||||
Expanded(
|
||||
child: _ActionButton(
|
||||
icon: LucideIcons.coins,
|
||||
label: '赚币',
|
||||
onTap: () {
|
||||
// TODO: 赚币功能
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(content: Text('赚币功能开发中')),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
@@ -290,7 +277,7 @@ class _AssetComposition extends StatelessWidget {
|
||||
final colorScheme = Theme.of(context).colorScheme;
|
||||
final fund = provider.fundAccount;
|
||||
final overview = provider.overview;
|
||||
|
||||
|
||||
final fundBalance = fund?.balance ?? overview?.fundBalance ?? '0.00';
|
||||
final tradeBalance = overview?.tradeBalance ?? '0';
|
||||
|
||||
@@ -325,19 +312,6 @@ class _AssetComposition extends StatelessWidget {
|
||||
onTap: () {},
|
||||
),
|
||||
),
|
||||
SizedBox(width: AppSpacing.sm),
|
||||
Expanded(
|
||||
child: _AssetCard(
|
||||
icon: LucideIcons.coins,
|
||||
title: '赚币',
|
||||
amount: '0 USDT',
|
||||
onTap: () {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(content: Text('赚币功能开发中')),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user