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

Permissions.Button needs additional objects for new options. #652

Closed
TTC1018 opened this issue Jul 1, 2024 · 1 comment · Fixed by #653
Closed

Permissions.Button needs additional objects for new options. #652

TTC1018 opened this issue Jul 1, 2024 · 1 comment · Fixed by #653
Labels
enhancement New feature or request

Comments

@TTC1018
Copy link
Contributor

TTC1018 commented Jul 1, 2024

Is your feature request related to a problem? Please describe.

The enum object for "Select photos and videos" and "Allow all", which was added for photos and videos since Android 14, is not defined yet.

Describe the solution you'd like

Wouldn't it be nice to have enum objects for both of these cases? Like this

enum class Button {
        ALLOW,
        ALLOW_ALWAYS,
        ALLOW_FOREGROUND,
        ALLOW_ALL, // At the very least, I think we'll need it.
        SELECT_PHOTOS_AND_VIDEOS,
        DENY
}
@Nikitae57
Copy link
Collaborator

Hi! Thanks a lot for the contribution! Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants