From 3f8611bed235b60356e65f247c6eefe750610d59 Mon Sep 17 00:00:00 2001 From: wuqifeng <540416539@qq.com> Date: Mon, 5 Aug 2024 17:52:13 +0800 Subject: [PATCH] feat:阶段主题白色兜底颜色格式错误修复 --- lib/models/course_module_entity.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/models/course_module_entity.dart b/lib/models/course_module_entity.dart index 3225315..da6c4ca 100644 --- a/lib/models/course_module_entity.dart +++ b/lib/models/course_module_entity.dart @@ -68,9 +68,9 @@ class CourseModuleEntity { ///对可空的CourseModuleEntity对象扩展 extension PersonSafeExt on CourseModuleEntity? { - ///获取非空的主题色,系统主题色0xFF00B6F1兜底 + ///获取非空的主题色,白色兜底 String getSafeThemeColor() { - return this?.courseModuleThemeColor ?? '0xFFFFFFFF'; + return this?.courseModuleThemeColor ?? '#FFFFFFFF'; } ///获取非空的阶段名称 -- libgit2 0.22.2