do not show disappearing messages configuration in carousel until the new design is enabled

pull/941/head
Ryan Zhao 3 years ago
parent 8e64cda138
commit 70e4a51780

@ -194,7 +194,7 @@ final class ConversationTitleView: UIView {
labelTypes.append(.userCount) labelTypes.append(.userCount)
} }
if let config = disappearingMessagesConfig, config.isEnabled == true { if let config = disappearingMessagesConfig, config.isEnabled == true, DisappearingMessagesConfiguration.isNewConfigurationEnabled {
let imageAttachment = NSTextAttachment() let imageAttachment = NSTextAttachment()
imageAttachment.image = UIImage(systemName: "timer")?.withTint(textPrimary) imageAttachment.image = UIImage(systemName: "timer")?.withTint(textPrimary)
imageAttachment.bounds = CGRect( imageAttachment.bounds = CGRect(

Loading…
Cancel
Save