We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to add a custom background to a loading alert and I am getting these errors
Cannot find 'AlertCustom' in scope and Extra argument 'custom' in call
Cannot find 'AlertCustom' in scope
Extra argument 'custom' in call
import AlertToast ... let alertCustomisation = AlertCustom( backgroundColor: Color("primary"), titleColor: Color.red, subTitleColor: Color.red ) @Published var loading = AlertToast(type: .loading, title: "", custom: alertCustomisation)
The text was updated successfully, but these errors were encountered:
Hi! Thank you for noticing this problem. The right module is AlertStyle (was AlertCustom in earlier versions).
AlertStyle
I also changed the README file to the correct naming.
Argument custom -> style. AlertCustom -> AlertStyle.
custom
style
AlertCustom
Closing the issue.
Sorry, something went wrong.
No branches or pull requests
I am trying to add a custom background to a loading alert and I am getting these errors
Cannot find 'AlertCustom' in scope
andExtra argument 'custom' in call
The text was updated successfully, but these errors were encountered: