diff --git a/app/src/main/java/io/github/wulkanowy/ui/modules/grade/details/GradeDetailsHeader.kt b/app/src/main/java/io/github/wulkanowy/ui/modules/grade/details/GradeDetailsHeader.kt index 5dec00a9f..b58ac8c93 100644 --- a/app/src/main/java/io/github/wulkanowy/ui/modules/grade/details/GradeDetailsHeader.kt +++ b/app/src/main/java/io/github/wulkanowy/ui/modules/grade/details/GradeDetailsHeader.kt @@ -52,6 +52,8 @@ class GradeDetailsHeader( if (subject != other.subject) return false if (number != other.number) return false if (average != other.average) return false + if (newGrades != other.newGrades) return false + if (isExpandable != other.isExpandable) return false return true } @@ -60,6 +62,8 @@ class GradeDetailsHeader( var result = subject.hashCode() result = 31 * result + number.hashCode() result = 31 * result + average.hashCode() + result = 31 * result + newGrades + result = 31 * result + isExpandable.hashCode() return result }