From 34671258d7322168093a6d59cf88b983696c1bf2 Mon Sep 17 00:00:00 2001 From: Elijah Semyonov Date: Wed, 3 Jul 2024 10:52:51 +0200 Subject: [PATCH] Minor rename --- .../androidx/compose/ui/platform/UIKitTextInputService.uikit.kt | 2 +- .../compose/ui/window/IntermediateTextInputUIView.uikit.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/platform/UIKitTextInputService.uikit.kt b/compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/platform/UIKitTextInputService.uikit.kt index 52833b012c59b..912925e72940f 100644 --- a/compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/platform/UIKitTextInputService.uikit.kt +++ b/compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/platform/UIKitTextInputService.uikit.kt @@ -353,7 +353,7 @@ internal class UIKitTextInputService( private fun detachIntermediateTextInputView() { textUIView?.let { view -> - view.resetOnPressesCallback() + view.resetOnKeyboardPressesCallback() mainScope.launch { view.removeFromSuperview() } diff --git a/compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/window/IntermediateTextInputUIView.uikit.kt b/compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/window/IntermediateTextInputUIView.uikit.kt index 426d10eb19807..694ada5602e0c 100644 --- a/compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/window/IntermediateTextInputUIView.uikit.kt +++ b/compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/window/IntermediateTextInputUIView.uikit.kt @@ -493,7 +493,7 @@ internal class IntermediateTextInputUIView( override fun tokenizer(): UITextInputTokenizerProtocol = UITextInputStringTokenizer(textInput = this) - fun resetOnPressesCallback() { + fun resetOnKeyboardPressesCallback() { onKeyboardPresses = NoOpOnKeyboardPresses } }