Merge branch 'develop' into feature/new-login

This commit is contained in:
Kuba Szczodrzyński
2020-04-20 19:05:05 +02:00
5 changed files with 12 additions and 13 deletions

View File

@ -46,6 +46,6 @@ object Signing {
/*fun provideKey(param1: String, param2: Long): ByteArray {*/
fun pleaseStopRightNow(param1: String, param2: Long): ByteArray {
return "$param1.MTIzNDU2Nzg5MD43hCWBBS===.$param2".sha256()
return "$param1.MTIzNDU2Nzg5MDP/4SAI6B===.$param2".sha256()
}
}

View File

@ -112,6 +112,9 @@ class SubjectViewHolder(
))
}
// remove previously added grades from year preview
if (b.yearContainer.childCount > 1)
b.yearContainer.removeViews(1, b.yearContainer.childCount - 1)
// add the yearly grades to summary container (expanded)
item.proposedGrade?.let {
b.yearContainer.addView(GradeView(