From b375dd14f781c076482c87fa81ebaa54d70db78c Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Fri, 5 Aug 2022 11:18:53 +0100 Subject: [PATCH] removing unused line --- .../main/java/im/vector/app/core/extensions/TextInputLayout.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/core/extensions/TextInputLayout.kt b/vector/src/main/java/im/vector/app/core/extensions/TextInputLayout.kt index f1b5f5ce09..909c343a45 100644 --- a/vector/src/main/java/im/vector/app/core/extensions/TextInputLayout.kt +++ b/vector/src/main/java/im/vector/app/core/extensions/TextInputLayout.kt @@ -83,7 +83,6 @@ fun TextInputLayout.setOnImeDoneListener(action: () -> Unit) { * The listener is only called when the view is in a resumed state to avoid triggers when exiting a screen. */ fun TextInputLayout.setOnFocusLostListener(lifecycleOwner: LifecycleOwner, action: () -> Unit) { - lifecycleOwner.lifecycle editText().setOnFocusChangeListener { _, hasFocus -> when (hasFocus) { false -> lifecycleOwner.lifecycleScope.launchWhenResumed { action() }