- Fixed crash when stun server is defined without port number.

This commit is contained in:
Juha Heinanen
2019-03-21 09:04:24 +02:00
parent 10f7db4248
commit 532bc23ebd
4 changed files with 11 additions and 11 deletions
@@ -114,7 +114,7 @@ class ChatActivity : AppCompatActivity() {
}
newMessage = findViewById(R.id.text) as EditText
newMessage.setOnFocusChangeListener(View.OnFocusChangeListener { v, hasFocus ->
newMessage.setOnFocusChangeListener(View.OnFocusChangeListener { _, hasFocus ->
if (hasFocus) {
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
}