mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
Merge pull request #4936 from nextcloud/crash_for_set_status_sialog
fix crash
This commit is contained in:
commit
aa19bbe991
@ -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