diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragmentNew.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragmentNew.kt index f8fb9ecc..72f436b0 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragmentNew.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragmentNew.kt @@ -1051,32 +1051,32 @@ class UbicadorFragmentNew : BaseFragment - if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5) { + }.setKoButton(getString(R.string.cancel)) { + customDialogInput.dismiss() + customDialogTwoButtons.dismiss() + }.show() + customDialogInput.getEditText().setOnEditorActionListener { _, actionId, _ -> + if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5) { - actionRename(item, customDialogInput.getValue()) - return@setOnEditorActionListener true - } - false - } - customDialogInput.getEditText().requestFocus() - } - - customDialogTwoButtons.setKoButton(getString(R.string.cancel)) { - customDialogTwoButtons.dismiss() - } + actionRename(item, customDialogInput.getValue()) + return@setOnEditorActionListener true + } + false + } + customDialogInput.getEditText().requestFocus() + } + customDialogTwoButtons.setKoButton(getString(R.string.cancel)) { + customDialogTwoButtons.dismiss() + } +*/ customDialogTwoButtons.show() }