Skip to content

Commit d75fe68

Browse files
authored
Merge pull request #4211 from nextcloud/backport/4210/stable-20.0
[stable-20.0] fix to show connection lost hint when internet is gone
2 parents 5643978 + abbc6f8 commit d75fe68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/nextcloud/talk/chat/MessageInputFragment.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ class MessageInputFragment : Fragment() {
233233
binding.fragmentConnectionLost.clearAnimation()
234234
binding.fragmentConnectionLost.visibility = View.GONE
235235
binding.fragmentConnectionLost.setBackgroundColor(resources.getColor(R.color.hwSecurityRed))
236+
binding.fragmentConnectionLost.text = getString(R.string.connection_lost_sent_messages_are_queued)
236237
binding.fragmentConnectionLost.visibility = View.VISIBLE
237238
binding.fragmentMessageInputView.attachmentButton.isEnabled = false
238239
binding.fragmentMessageInputView.recordAudioButton.isEnabled = false

0 commit comments

Comments
 (0)