Disable optimization in r8 config and fix crash in grade fragment (#1226)

This commit is contained in:
Rafał Borcz
2021-03-16 12:49:17 +01:00
committed by GitHub
parent 3f6159e976
commit 21ef2adcf6
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class GradePresenter @Inject constructor(
fun onSemesterSwitch(): Boolean {
if (semesters.isNotEmpty()) {
view?.showSemesterDialog(selectedIndex - 1, semesters.slice(0..1))
view?.showSemesterDialog(selectedIndex - 1, semesters.take(2))
}
return true
}