mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-25 06:25:40 +03:00
fix to show connection lost hint when internet is gone
otherwise it showed "connection gained" with red background when loosing connection for the first time Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
580dd584e5
commit
0480ceef7f
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ class MessageInputFragment : Fragment() {
|
|||
binding.fragmentConnectionLost.clearAnimation()
|
||||
binding.fragmentConnectionLost.visibility = View.GONE
|
||||
binding.fragmentConnectionLost.setBackgroundColor(resources.getColor(R.color.hwSecurityRed))
|
||||
binding.fragmentConnectionLost.text = getString(R.string.connection_lost_sent_messages_are_queued)
|
||||
binding.fragmentConnectionLost.visibility = View.VISIBLE
|
||||
binding.fragmentMessageInputView.attachmentButton.isEnabled = false
|
||||
binding.fragmentMessageInputView.recordAudioButton.isEnabled = false
|
||||
|
|
Loading…
Reference in a new issue