0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

move cursor to end

This commit is contained in:
Sanjaykumar Sargam 2023-06-05 18:51:27 +05:30 committed by Brayan Oliveira
parent 043ded7876
commit 2604feba96

View File

@ -124,5 +124,6 @@ class IncrementerNumberRangePreference : NumberRangePreference {
// Make sure value is within range
mLastValidEntry = super.getValidatedRangeFromInt(value)
mEditText.setText(mLastValidEntry.toString())
mEditText.setSelection(mEditText.text.length)
}
}