浏览代码

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

fix to show connection lost hint when internet is gone
Marcel Hibbe 7 月之前
父节点
当前提交
af6e058c70
共有 1 个文件被更改,包括 1 次插入0 次删除
  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