-
Notifications
You must be signed in to change notification settings - Fork 225
Fix video player not playing when GalleryVC is opened #3773
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
WalkthroughA bug fix was implemented in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant GalleryVC
participant AttachmentsCollectionView
User->>GalleryVC: View appears
GalleryVC->>GalleryVC: updateContent()
GalleryVC->>AttachmentsCollectionView: scrollToItem(at: currentPage)
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Generated by 🚫 Danger |
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.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
CHANGELOG.md
(1 hunks)Sources/StreamChatUI/Gallery/GalleryVC.swift
(1 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
Sources/StreamChatUI/Gallery/GalleryVC.swift (1)
Sources/StreamChatUI/CommonViews/BaseViews.swift (1)
updateContent
(138-138)
🔇 Additional comments (1)
CHANGELOG.md (1)
17-17
: Changelog entry looks good – consistent with existing format.
No issues spotted.
SDK Size
|
SDK Performance
|
Public Interface🚀 No changes affecting the public interface. |
SDK Size
|
* Fix video player not playing when GalleryVC is opened * Update CHANGELOG.md * Fix swift format
|
🔗 Issue Links
Caught in regression testing: #3770
🎯 Goal
Fix video player not playing when GalleryVC is opened.
🛠 Implementation
Caused by #3745. When doing the fix, the
updateContent()
function was forgotten to be called on viewDidAppear(). This is where we start the video player if needed.🧪 Manual Testing Notes
☑️ Contributor Checklist
docs-content
repoSummary by CodeRabbit