mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-23 01:06:28 +00:00
Add follow setting button
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user