mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 04:55:29 +03:00
Merge pull request #4211 from nextcloud/backport/4210/stable-20.0
[stable-20.0] fix to show connection lost hint when internet is gone
This commit is contained in:
commit
d75fe681cd
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ class MessageInputFragment : Fragment() {
|
||||||
binding.fragmentConnectionLost.clearAnimation()
|
binding.fragmentConnectionLost.clearAnimation()
|
||||||
binding.fragmentConnectionLost.visibility = View.GONE
|
binding.fragmentConnectionLost.visibility = View.GONE
|
||||||
binding.fragmentConnectionLost.setBackgroundColor(resources.getColor(R.color.hwSecurityRed))
|
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.fragmentConnectionLost.visibility = View.VISIBLE
|
||||||
binding.fragmentMessageInputView.attachmentButton.isEnabled = false
|
binding.fragmentMessageInputView.attachmentButton.isEnabled = false
|
||||||
binding.fragmentMessageInputView.recordAudioButton.isEnabled = false
|
binding.fragmentMessageInputView.recordAudioButton.isEnabled = false
|
||||||
|
|
Loading…
Reference in a new issue