mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
de62d2776c
commit
89bddbd8fd
@ -1247,8 +1247,10 @@ class ChatActivity :
|
|||||||
resources.getString(R.string.nc_conversation_auto_delete_notice),
|
resources.getString(R.string.nc_conversation_auto_delete_notice),
|
||||||
retentionPeriod
|
retentionPeriod
|
||||||
)
|
)
|
||||||
viewThemeUtils.material.colorMaterialButtonPrimaryTonal(binding.conversationDeleteNotice
|
viewThemeUtils.material.colorMaterialButtonPrimaryTonal(
|
||||||
.findViewById<MaterialButton>(R.id.keep_button))
|
binding.conversationDeleteNotice
|
||||||
|
.findViewById<MaterialButton>(R.id.keep_button)
|
||||||
|
)
|
||||||
|
|
||||||
if (ConversationUtils.isParticipantOwnerOrModerator(currentConversation!!)) {
|
if (ConversationUtils.isParticipantOwnerOrModerator(currentConversation!!)) {
|
||||||
binding.conversationDeleteNotice.findViewById<MaterialButton>(R.id.delete_now_button).visibility =
|
binding.conversationDeleteNotice.findViewById<MaterialButton>(R.id.delete_now_button).visibility =
|
||||||
@ -3068,8 +3070,6 @@ class ChatActivity :
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
override fun onPrepareOptionsMenu(menu: Menu): Boolean {
|
override fun onPrepareOptionsMenu(menu: Menu): Boolean {
|
||||||
super.onPrepareOptionsMenu(menu)
|
super.onPrepareOptionsMenu(menu)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user