mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -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
|
// Closing unedited note dialog straightaway
|
||||||
dismissAddNoteDialog()
|
dismissAddNoteDialog()
|
||||||
}
|
}
|
||||||
|
if (dialogNoteAddNoteBinding?.addNoteEditText?.isFocused == true) {
|
||||||
|
dialogNoteAddNoteBinding?.addNoteEditText?.clearFocus()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun disableMenuItems() {
|
private fun disableMenuItems() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user