diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt index 5e86e27d3..891e90156 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt @@ -705,6 +705,7 @@ class ConversationInfoController(args: Bundle) : databaseStorageModule?.setMessageExpiration(conversation!!.messageExpiration) binding.conversationInfoExpireMessages.setStorageModule(databaseStorageModule) binding.conversationInfoExpireMessages.visibility = View.VISIBLE + binding.conversationInfoExpireMessagesExplanation.visibility = View.VISIBLE } else { binding.categoryConversationSettings.visibility = View.GONE } diff --git a/app/src/main/res/layout/controller_conversation_info.xml b/app/src/main/res/layout/controller_conversation_info.xml index 3f924d4ba..cbd69562b 100644 --- a/app/src/main/res/layout/controller_conversation_info.xml +++ b/app/src/main/res/layout/controller_conversation_info.xml @@ -192,6 +192,17 @@ apc:mp_title="@string/nc_expire_messages"> + + + 1 day 8 hours 1 hour + Expire chat messages after a certain time. Files shared into the chat will only be unshared from the conversation but are not deleted for the owner.