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

LENGTH_LONG doesn't work in .makeText constructor #65

Open
34Dev opened this issue Nov 17, 2021 · 0 comments
Open

LENGTH_LONG doesn't work in .makeText constructor #65

34Dev opened this issue Nov 17, 2021 · 0 comments

Comments

@34Dev
Copy link

34Dev commented Nov 17, 2021

length = typedArray.getInt(R.styleable.StyleableToast_stLength, 0);

I'd suggest replacing '0' with 'length' since it's zero by default.
length = typedArray.getInt(R.styleable.StyleableToast_stLength, length);

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

No branches or pull requests

1 participant