Merge pull request #4881 from nextcloud/out_of_office_view

Fix out of office view
This commit is contained in:
Julius Linus 2025-04-16 11:08:10 -05:00 committed by GitHub
commit 210718ee54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1016,7 +1016,7 @@ class ChatActivity :
binding.outOfOfficeContainer.findViewById<TextView>(R.id.userAbsenceShortMessage).text =
String.format(
context.resources.getString(R.string.user_absence_for_one_day),
uiState.userAbsence.userId
currentConversation?.displayName
)
binding.outOfOfficeContainer.findViewById<TextView>(R.id.userAbsencePeriod).visibility =
View.GONE
@ -1027,7 +1027,7 @@ class ChatActivity :
binding.outOfOfficeContainer.findViewById<TextView>(R.id.userAbsenceShortMessage).text =
String.format(
context.resources.getString(R.string.user_absence),
uiState.userAbsence.userId
currentConversation?.displayName
)
binding.outOfOfficeContainer.findViewById<TextView>(R.id.userAbsencePeriod).text =