Compile with SDK 37

This commit is contained in:
Benoit Marty
2026-06-11 14:48:39 +02:00
committed by Benoit Marty
parent 405fd3ca0d
commit e54d93cd50
3 changed files with 4 additions and 5 deletions
@@ -72,6 +72,7 @@ fun View.showKeyboard(andRequestFocus: Boolean = false) {
windowInsetsController?.show(WindowInsets.Type.ime())
} else {
val imm = context?.getSystemService<InputMethodManager>()
@Suppress("DEPRECATION")
imm?.showSoftInput(this, InputMethodManager.SHOW_IMPLICIT)
}
}