mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-20 10:23:30 -04:00
Clearing focus from the Notes EditText to improve UI performance
This commit is contained in:
parent
f5ba5f4cf0
commit
75c4e9278d
@ -204,6 +204,9 @@ class AddNoteDialog : DialogFragment() {
|
||||
// Closing unedited note dialog straightaway
|
||||
dismissAddNoteDialog()
|
||||
}
|
||||
if (dialogNoteAddNoteBinding?.addNoteEditText?.isFocused == true) {
|
||||
dialogNoteAddNoteBinding?.addNoteEditText?.clearFocus()
|
||||
}
|
||||
}
|
||||
|
||||
private fun disableMenuItems() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user