From cbdf023c80b603cb22f4268526e714b82ed2c6d2 Mon Sep 17 00:00:00 2001 From: sion <450702724@qq.com> Date: Mon, 6 Apr 2026 11:25:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20BalanceCard=20?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 asset_page.dart 中 BalanceCard 的 provider 参数 - 与合并后的 BalanceCard 接口保持一致 --- flutter_monisuo/lib/ui/pages/asset/asset_page.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/flutter_monisuo/lib/ui/pages/asset/asset_page.dart b/flutter_monisuo/lib/ui/pages/asset/asset_page.dart index e12311d..79a54ff 100644 --- a/flutter_monisuo/lib/ui/pages/asset/asset_page.dart +++ b/flutter_monisuo/lib/ui/pages/asset/asset_page.dart @@ -88,7 +88,6 @@ class _AssetPageState extends State with AutomaticKeepAliveClientMixi children: [ Expanded( child: BalanceCard( - provider: provider, label: '资金账户', balance: provider.fundAccount?.balance ?? provider.overview?.fundBalance ?? '0.00', ), @@ -96,7 +95,6 @@ class _AssetPageState extends State with AutomaticKeepAliveClientMixi const SizedBox(width: AppSpacing.sm), Expanded( child: BalanceCard( - provider: provider, label: '交易账户', balance: _calculateTradeTotal(provider), ),