mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-06 10:55:43 +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)
|
&& message.expiryMode != (MessagingModuleConfiguration.shared.storage.getExpirationConfiguration(message.threadId)?.expiryMode ?: ExpiryMode.NONE)
|
||||||
&& threadRecipient?.isGroupRecipient != true
|
&& threadRecipient?.isGroupRecipient != true
|
||||||
|
|
||||||
|
if (followSetting.isVisible) {
|
||||||
binding.controlContentView.setOnClickListener { disappearingMessages.showFollowSettingDialog(context, message) }
|
binding.controlContentView.setOnClickListener { disappearingMessages.showFollowSettingDialog(context, message) }
|
||||||
|
} else {
|
||||||
|
binding.controlContentView.setOnClickListener(null)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
message.isMediaSavedNotification -> {
|
message.isMediaSavedNotification -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user