Skip to content

Commit 0940e66

Browse files
committed
Cleanup
1 parent 0152b80 commit 0940e66

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ComposeTextEditor/src/androidMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorTextInputService.android.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ private class TextEditorInputConnection(
513513
private fun notifyImeSelectionChanged() {
514514
val view = state.platformExtensions.view ?: return
515515
val imm = view.context.getSystemService(android.content.Context.INPUT_METHOD_SERVICE)
516-
as? android.view.inputmethod.InputMethodManager ?: return
516+
as? InputMethodManager ?: return
517517

518518
val cursorIndex = state.getCharacterIndex(state.cursorPosition)
519519
val selection = state.selector.selection
@@ -646,14 +646,14 @@ private class TextEditorInputConnection(
646646
state.platformExtensions.cursorAnchorMonitoringEnabled = false
647647
}
648648

649-
override fun commitCompletion(text: android.view.inputmethod.CompletionInfo?): Boolean = false
649+
override fun commitCompletion(text: CompletionInfo?): Boolean = false
650650

651-
override fun commitCorrection(correctionInfo: android.view.inputmethod.CorrectionInfo?): Boolean = false
651+
override fun commitCorrection(correctionInfo: CorrectionInfo?): Boolean = false
652652

653653
override fun reportFullscreenMode(enabled: Boolean): Boolean = false
654654

655655
override fun commitContent(
656-
inputContentInfo: android.view.inputmethod.InputContentInfo,
656+
inputContentInfo: InputContentInfo,
657657
flags: Int,
658658
opts: Bundle?
659659
): Boolean {

0 commit comments

Comments
 (0)