-
Notifications
You must be signed in to change notification settings - Fork 110
Fix composer not showing images in the composer when editing signed attachments #956
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
Fix composer not showing images in the composer when editing signed attachments #956
Conversation
Public Interface- public struct MediaAttachment: Identifiable
+ public struct MediaAttachment: Identifiable, Equatable
+
+
+ public static func ==(lhs: MediaAttachment,rhs: MediaAttachment)-> Bool |
SDK Size
|
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.
few issues:
- seems like both the keyboard and the image attachments are shown at the same time, leading to this UI:
|
||
// If there is a custom CDN, we need to load the image from the CDN | ||
// especially if the images are signed. | ||
if !(utils.imageCDN is StreamImageCDN) { |
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.
this is a bit unsafe if we decide to provide a new implementation
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.
I can just always use the CDN, I initially I did this because of the tests, but will change it. It will simplify the code as well
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.
Fixed ✅
|
🔗 Issue Links
IOS-1014
IOS-817
🎯 Goal
🧪 Manual Testing Notes
Fix composer not showing images in the composer when editing signed attachments:
N/A
Fix replacing an image while editing a message not showing the new image in the message list:
☑️ Contributor Checklist
docs-content
repo