StyleableToast icon indicating copy to clipboard operation
StyleableToast copied to clipboard

LENGTH_LONG doesn't work in .makeText constructor

Open 34Dev opened this issue 3 years ago • 0 comments

https://github.com/Muddz/StyleableToast/blob/48883c4ec1addba90e061b9a3699ca6680559a23/styleabletoast/src/main/java/io/github/muddz/styleabletoast/StyleableToast.java#L222

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

34Dev avatar Nov 17 '21 10:11 34Dev