fixed course name not being updated on change

* minor GUI improvements
This commit is contained in:
2019-09-23 22:44:03 +02:00
parent 6e6c9f71a0
commit aa69d2242f
2 changed files with 24 additions and 13 deletions

View File

@ -24,7 +24,6 @@ package org.mosad.seil0.projectlaogai.fragments
import android.content.Context
import android.os.Bundle
import android.renderscript.Sampler
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
@ -132,7 +131,6 @@ class SettingsFragment : Fragment() {
linLayoutCourse.setOnClickListener {
selectCourse(context!!)
txtView_Course.text = cCourse.courseName // update txtView
}
linLayoutAbout.setOnClickListener {
@ -263,6 +261,7 @@ class SettingsFragment : Fragment() {
uiThread {
dialog.dismiss()
txtView_Course.text = cCourse.courseName // update txtView
}
}