mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-04-13 15:02:05 +02:00
make sure the cursor is visible at starting the app
This commit is contained in:
parent
96265d4a79
commit
09b96a45e8
@ -111,10 +111,7 @@ class NoteFragment : Fragment() {
|
||||
setColors(config.textColor, config.primaryColor, config.backgroundColor)
|
||||
setTextSize(TypedValue.COMPLEX_UNIT_PX, context.getTextSize())
|
||||
gravity = getTextGravity()
|
||||
|
||||
if (config.placeCursorToEnd) {
|
||||
setSelection(text.length)
|
||||
}
|
||||
setSelection(if (config.placeCursorToEnd) text.length else 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user