Skip to content

Directly open camera or gallery if only one of them is set as availableImageSources #52

Open
@sudormrfbin

Description

@sudormrfbin

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

4.0.0

What you'd like to happen

#40 added the ability to control the image source by setting the `availableImageSources` option. If there's only one option set in it, for example:


availableImageSources = [ImageSourceOption.gallery]


the bottom sheet is displayed even though there's only one action to take. Directly opening the gallery in this case would a better flow.

Alternatives you've considered

No response

Aditional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions