forked from github/wulkanowy-mirror
Fix stable id in grade fragment (#211)
This commit is contained in:
parent
7d1866c304
commit
ed49eb4c9c
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user