优化
This commit is contained in:
@@ -87,7 +87,7 @@ class TradeFormCard extends StatelessWidget {
|
||||
'买入',
|
||||
style: AppTextStyles.headlineMedium(context).copyWith(
|
||||
color: isBuy
|
||||
? AppColorScheme.darkOnPrimary
|
||||
? Colors.white
|
||||
: context.colors.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
@@ -117,7 +117,7 @@ class TradeFormCard extends StatelessWidget {
|
||||
'卖出',
|
||||
style: AppTextStyles.headlineMedium(context).copyWith(
|
||||
color: !isBuy
|
||||
? AppColorScheme.darkOnPrimary
|
||||
? Colors.white
|
||||
: context.colors.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user