Browse Source

Merge pull request #4210 from nextcloud/bugfix/noid/fixConnectionLostHint

fix to show connection lost hint when internet is gone
Marcel Hibbe 7 months ago
parent
commit
af6e058c70
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/src/main/java/com/nextcloud/talk/chat/MessageInputFragment.kt

+ 1 - 0
app/src/main/java/com/nextcloud/talk/chat/MessageInputFragment.kt

@@ -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