From feaf0416858ed66065090ade2e5ea344a1b35404 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Fri, 15 Jul 2022 09:19:07 +0200 Subject: [PATCH] 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 --- .../java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt index 6d9c38661..d0ccefeb5 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt @@ -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()) } } })