[go: nahoru, domu]

[TextInputService] link to SoftwareKeyboardController.show|hide

Previously, these docs pointed at the deprecated methods.

Bug: b/242775454
Test: n/a
Change-Id: Ieca3ad706058e4d6b13136f318708b4c66271e51
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/input/TextInputService.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/input/TextInputService.kt
index b41257c..cfb4a53 100644
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/input/TextInputService.kt
+++ b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/input/TextInputService.kt
@@ -88,7 +88,7 @@
      * system service may silently ignore this request.
      */
     @Deprecated(
-        message = "Use SoftwareKeyboardController.showSoftwareKeyboard or " +
+        message = "Use SoftwareKeyboardController.show or " +
             "TextInputSession.showSoftwareKeyboard instead.",
         replaceWith = ReplaceWith("textInputSession.showSoftwareKeyboard()")
     )
@@ -103,7 +103,7 @@
      * Hide onscreen keyboard.
      */
     @Deprecated(
-        message = "Use SoftwareKeyboardController.hideSoftwareKeyboard or " +
+        message = "Use SoftwareKeyboardController.hide or " +
             "TextInputSession.hideSoftwareKeyboard instead.",
         replaceWith = ReplaceWith("textInputSession.hideSoftwareKeyboard()")
     )