Commit 3f8611bed235b60356e65f247c6eefe750610d59

Authored by 吴启风
1 parent 8ce8acaa

feat:阶段主题白色兜底颜色格式错误修复

lib/models/course_module_entity.dart
@@ -68,9 +68,9 @@ class CourseModuleEntity { @@ -68,9 +68,9 @@ class CourseModuleEntity {
68 68
69 ///对可空的CourseModuleEntity对象扩展 69 ///对可空的CourseModuleEntity对象扩展
70 extension PersonSafeExt on CourseModuleEntity? { 70 extension PersonSafeExt on CourseModuleEntity? {
71 - ///获取非空的主题色,系统主题色0xFF00B6F1兜底 71 + ///获取非空的主题色,白色兜底
72 String getSafeThemeColor() { 72 String getSafeThemeColor() {
73 - return this?.courseModuleThemeColor ?? '0xFFFFFFFF'; 73 + return this?.courseModuleThemeColor ?? '#FFFFFFFF';
74 } 74 }
75 75
76 ///获取非空的阶段名称 76 ///获取非空的阶段名称