Skip to content
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

Configurable album overlay background and default starting point for album overlay proposal #314

Merged
merged 2 commits into from
May 21, 2021

Conversation

MichaelNeas
Copy link
Contributor

I was using this picker on a swiftui project and was asked to add albums to the picker I noticed issue #268

This PR adds:

  • configurable background color to albumviewcontroller based on the theme
  • checks for safe area insets if there is no navigation controller

In the DropdownPresentationController in swiftUI you can get:

type(of: presentingViewController)
> SwiftUI.SheetHostingController

And I'm not sure if we can get the underlying navigation bar height.
However, instead of defaulting to .zero respecting safe area insets might be a nicer solution.

@mikaoj mikaoj merged commit 464dc40 into mikaoj:master May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants