Commit 3f8611bed235b60356e65f247c6eefe750610d59
1 parent
8ce8acaa
feat:阶段主题白色兜底颜色格式错误修复
Showing
1 changed file
with
2 additions
and
2 deletions
lib/models/course_module_entity.dart
| ... | ... | @@ -68,9 +68,9 @@ class CourseModuleEntity { | 
| 68 | 68 | |
| 69 | 69 | ///对可空的CourseModuleEntity对象扩展 | 
| 70 | 70 | extension PersonSafeExt on CourseModuleEntity? { | 
| 71 | - ///获取非空的主题色,系统主题色0xFF00B6F1兜底 | |
| 71 | + ///获取非空的主题色,白色兜底 | |
| 72 | 72 | String getSafeThemeColor() { | 
| 73 | - return this?.courseModuleThemeColor ?? '0xFFFFFFFF'; | |
| 73 | + return this?.courseModuleThemeColor ?? '#FFFFFFFF'; | |
| 74 | 74 | } | 
| 75 | 75 | |
| 76 | 76 | ///获取非空的阶段名称 | ... | ... | 
