Skip to content

Commit eafcd7b

Browse files
feat: defaultColors changed
1 parent b970fb5 commit eafcd7b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

core/src/main/java/org/openedx/core/data/model/CourseProgressResponse.kt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,18 @@ data class CourseProgressResponse(
9292
@SerializedName("grade_range") val gradeRange: Map<String, Float>?,
9393
@SerializedName("assignment_colors") val assignmentColors: List<String>?
9494
) {
95-
// Temporary solution. Backend will returns color list later
96-
val defaultColors = listOf("#fe553a", "#32c0ff", "#a3ff7b", "#ff30ee")
95+
//TODO Temporary solution. Backend will returns color list later
96+
val defaultColors = listOf(
97+
"#D24242",
98+
"#7B9645",
99+
"#5A5AD8",
100+
"#B0842C",
101+
"#2E90C2",
102+
"#D13F88",
103+
"#36A17D",
104+
"#AE5AD8",
105+
"#3BA03B"
106+
)
97107

98108
fun mapToRoomEntity() = GradingPolicyDb(
99109
assignmentPolicies = assignmentPolicies?.map { it.mapToRoomEntity() } ?: emptyList(),

0 commit comments

Comments
 (0)