mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
fix cursor jumping to end when editing question
setting the cursor to the end was just a (buggy) workaround when the question was of type liveData. As it's not liveData anymore, this workaround was now useless Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
6b8c83f553
commit
feaf041685
@ -117,7 +117,6 @@ class PollCreateDialogFragment : DialogFragment(), PollCreateOptionsItemListener
|
||||
override fun onTextChanged(question: CharSequence, start: Int, before: Int, count: Int) {
|
||||
if (question.toString() != viewModel.question) {
|
||||
viewModel.setQuestion(question.toString())
|
||||
binding.pollCreateQuestion.setSelection(binding.pollCreateQuestion.length())
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user