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

Add abillity to control alert duration #68

Open
boserup opened this issue Dec 28, 2023 · 0 comments
Open

Add abillity to control alert duration #68

boserup opened this issue Dec 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@boserup
Copy link

boserup commented Dec 28, 2023

It would be neat if it was possible to specify the duration of the the alert when presenting it. Right now the duration property is only available in the view, and not the AlertKitAPI wrapping class.

Context:

AlertKitAPI.present(
    title: "Oops",
    subtitle: error?.localizedDescription,
    icon: .error,
    style: .iOS17AppleMusic,
    haptic: .error
)
@boserup boserup added the enhancement New feature or request label Dec 28, 2023
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

No branches or pull requests

2 participants