|
|
@ -110,8 +110,7 @@ class AddLoginFragment : Fragment(R.layout.fragment_add_login) {
|
|
|
|
binding.hostnameText.requestFocus()
|
|
|
|
binding.hostnameText.requestFocus()
|
|
|
|
val imm =
|
|
|
|
val imm =
|
|
|
|
requireContext().getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
|
|
|
|
requireContext().getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
|
|
|
|
@Suppress("DEPRECATION")
|
|
|
|
imm.showSoftInput(binding.hostnameText, InputMethodManager.SHOW_IMPLICIT)
|
|
|
|
imm.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, 0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
binding.clearHostnameTextButton.setOnClickListener {
|
|
|
|
binding.clearHostnameTextButton.setOnClickListener {
|
|
|
|
binding.hostnameText.text?.clear()
|
|
|
|
binding.hostnameText.text?.clear()
|
|
|
|