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 1686 grid margins go off screen #1687
Conversation
e2685b7
to
4c7c755
Compare
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 needs to target trunk
.
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.
@SergioEstevao I don't believe trunk
has the grid changes applied. We probably need to re-add them, merge them first, and then update this PR.
Edit: or maybe we could use this one? Anyways, there's some merge conflict.
I will pull the other one before, because this fix only makes sense when you have horizontal margins to test. |
@leandroalonso ready for another look now that we re-added the new grid layout to trunk. |
podcasts/SceneHelper.swift
Outdated
@@ -26,7 +26,8 @@ class SceneHelper { | |||
class func rootViewController() -> UIViewController? { | |||
guard !FeatureFlag.newPlayerTransition.enabled else { | |||
let appScene = connectedScene()?.windows.first(where: { $0.rootViewController is MainTabBarController }) | |||
return appScene?.rootViewController?.topMostPresentedViewController | |||
let rootVC = appScene?.rootViewController |
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.
These changes were not part of this PR, This comes from another PR that is still not merged in trunk.
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.
Just a merge trunk
missing. :)
Gone already.
Fixes #1686
This PR updates the search bar code and mini-player code to ensure it does not change any existing horizontal insets when updating the insets.
To test
Close and Clear Up Next
Checklist
CHANGELOG.md
if necessary.