Request focus when renaming track.

This commit is contained in:
voussoir 2022-04-03 11:17:37 -07:00
parent 222422b884
commit e73023c892
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -56,6 +56,7 @@ class RenameTrackDialog (private var renameTrackListener: RenameTrackListener) {
inputField.setText(trackName, TextView.BufferType.EDITABLE) inputField.setText(trackName, TextView.BufferType.EDITABLE)
inputField.setSelection(trackName.length) inputField.setSelection(trackName.length)
inputField.inputType = InputType.TYPE_CLASS_TEXT inputField.inputType = InputType.TYPE_CLASS_TEXT
inputField.requestFocus()
// set dialog view // set dialog view
builder.setView(view) builder.setView(view)