fixed crash in landscape, update to kotlin 1.3

This commit is contained in:
2018-10-30 17:53:02 +01:00
parent f9a122558d
commit f8ecf18de7
5 changed files with 6 additions and 5 deletions

View File

@ -59,13 +59,12 @@ class MensaFragment : Fragment() {
private fun addCurrentWeek() {
doAsync {
val mensaParser = MensaParser()
uiThread {
for(day in Calendar.getInstance().get(Calendar.DAY_OF_WEEK)..7) {
var strDay: String = when(day) {
val strDay: String = when(day) {
Calendar.MONDAY -> "Mon"
Calendar.TUESDAY -> "Die"
Calendar.WEDNESDAY -> "Mit"