This commit is contained in:
guozhigq
2024-10-05 11:39:09 +08:00
parent e3a52db725
commit c08c3f4c7c

View File

@ -177,12 +177,18 @@ class _MinePageState extends State<MinePage>
),
const SizedBox(height: 2),
],
Text(
'硬币: ${userInfo.money ?? '-'}',
Text.rich(
TextSpan(children: [
TextSpan(
text: '硬币: ',
style: TextStyle(
color: Theme.of(context).colorScheme.outline,
),
),
color: Theme.of(context).colorScheme.outline)),
TextSpan(
text: (userInfo.money ?? '-').toString(),
style: TextStyle(
color: Theme.of(context).colorScheme.primary)),
]),
)
],
),
const Spacer(),