Skip to content

Commit abbc6f8

Browse files
mahibibackportbot[bot]
authored andcommitted
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 <[email protected]>
1 parent 5643978 commit abbc6f8

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)