Add follow setting button

This commit is contained in:
andrew
2023-12-06 12:31:59 +10:30
parent 71b2f1ed6a
commit c60b6d9ba2
2 changed files with 13 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ class ControlMessageView : LinearLayout {
binding.dateBreakTextView.showDateBreak(message, previous)
binding.iconImageView.isGone = true
binding.expirationTimerView.isGone = true
binding.followSetting.isGone = true
var messageBody: CharSequence = message.getDisplayBody(context)
binding.root.contentDescription= null
when {
@@ -37,6 +38,8 @@ class ControlMessageView : LinearLayout {
isVisible = true
setExpirationTime(message.expireStarted, message.expiresIn)
}
binding.followSetting.isGone = message.isOutgoing
}
message.isMediaSavedNotification -> {
binding.iconImageView.apply {