mirror of
https://github.com/oxen-io/session-android.git
synced 2025-03-27 07:02:14 +00:00
SES-2813 - clickable only when there is a 'follow settings'
This commit is contained in:
parent
fea66ece2e
commit
361d998e3d
@ -87,7 +87,11 @@ class ControlMessageView : LinearLayout {
|
||||
&& message.expiryMode != (MessagingModuleConfiguration.shared.storage.getExpirationConfiguration(message.threadId)?.expiryMode ?: ExpiryMode.NONE)
|
||||
&& threadRecipient?.isGroupRecipient != true
|
||||
|
||||
binding.controlContentView.setOnClickListener { disappearingMessages.showFollowSettingDialog(context, message) }
|
||||
if (followSetting.isVisible) {
|
||||
binding.controlContentView.setOnClickListener { disappearingMessages.showFollowSettingDialog(context, message) }
|
||||
} else {
|
||||
binding.controlContentView.setOnClickListener(null)
|
||||
}
|
||||
}
|
||||
}
|
||||
message.isMediaSavedNotification -> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user