Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-20 11:59:31 +08:00
parent add633bc66
commit 4229024adf
4 changed files with 55 additions and 49 deletions

View File

@@ -1048,18 +1048,19 @@ class _HeaderTitleState extends State<HeaderTitle> {
overflow: .ellipsis,
style: const TextStyle(fontSize: 12, color: Colors.white),
),
Text(
title.subTitle!,
style: TextStyle(
fontSize: 12,
fontFamily: Assets.digitalNum,
color: title.subTitleColorFormat?.colors?.isNotEmpty == true
? Utils.parseMedalColor(
title.subTitleColorFormat!.colors!.last,
)
: Colors.white,
if (title.subTitle?.isNotEmpty ?? false)
Text(
title.subTitle!,
style: TextStyle(
fontSize: 12,
fontFamily: Assets.digitalNum,
color: title.subTitleColorFormat?.colors?.isNotEmpty == true
? Utils.parseMedalColor(
title.subTitleColorFormat!.colors!.last,
)
: Colors.white,
),
),
),
],
);
} catch (e, s) {