fixed course name not being updated on change
* minor GUI improvements
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user