-
Notifications
You must be signed in to change notification settings - Fork 27
Feature/expired attachments #1037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pending/Expired attachments now use different icons for different types Consistent padding and styling for bubbled control messages (call cm, deleted message, pending/expired attachments)
…sibility now Handling loading and failed state in attachment controls
…ousel if the image isn't downloaded
…the message details
Also added a new debug menu item to "untrust" attachments
ViewVisibleMessageContentBinding.inflate(LayoutInflater.from(it)).mainContainerConstraint.apply { | ||
factory = { context -> | ||
// Inflate the view once | ||
ViewVisibleMessageContentBinding.inflate(LayoutInflater.from(context)).mainContainerConstraint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although it's existing code I think it's better to use the rootView
instead of a specific view so you don't accidentally move that view off the root:
ViewVisibleMessageContentBinding.inflate(LayoutInflater.from(context)).mainContainerConstraint | |
ViewVisibleMessageContentBinding.inflate(LayoutInflater.from(context)).root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed
(context.contentResolver.observeChanges(DatabaseContentProviders.Conversation.getUriForThread(messageRecord.threadId)) as Flow<*>) | ||
.onStart { emit(Unit) } | ||
.collect{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we have changed the flow source, do you think we should add in some debounces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a debounce
SES-3518 - Changes to the attachment control.
View Jira ticket for details as a fair bit has changed visually including in the messages, control messages, quotes, message details screen.