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

Adds a method that can return a different default value than 0 #2234

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

tastybento
Copy link
Member

The method amountMap has been deprecated instead of amount(String) however, the previous call is not always wanting a default value of 0. I added a default parameter to reduce code when calling so it can now be amount(String, int)

@tastybento tastybento merged commit 59c8499 into develop Nov 25, 2023
1 check failed
@tastybento tastybento deleted the TemplatedPanel_default_value_for_amount branch November 25, 2023 16:39
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.

1 participant