mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-22 04:59:34 +01:00
fix crash
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
f8bfa0485c
commit
5500ffef6b
@ -257,10 +257,11 @@ class SetStatusDialogFragment :
|
||||
binding.clearStatusAfterSpinner.apply {
|
||||
this.adapter = createClearTimesArrayAdapter()
|
||||
onItemSelectedListener = object : OnItemSelectedListener {
|
||||
override fun onItemSelected(parent: AdapterView<*>, view: View, position: Int, id: Long) {
|
||||
setClearStatusAfterValue(position)
|
||||
override fun onItemSelected(parent: AdapterView<*>, view: View?, position: Int, id: Long) {
|
||||
view?.let {
|
||||
setClearStatusAfterValue(position)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onNothingSelected(parent: AdapterView<*>?) {
|
||||
// nothing to do
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user