Snacky icon indicating copy to clipboard operation
Snacky copied to clipboard

setDuration

Open Mojtaba-Shafaei opened this issue 4 years ago • 1 comments

setDuration() needs a positive and greater than Zero number, however, all durations are negative or zero.

Android studio error: code = setDuration(Snacky.LENGTH_LONG) error =

Must be one of: BaseTransientBottomBar.LENGTH_INDEFINITE, BaseTransientBottomBar.LENGTH_SHORT, BaseTransientBottomBar.LENGTH_LONG or value must be ≥ 1 (was -2)

Mojtaba-Shafaei avatar May 19 '20 11:05 Mojtaba-Shafaei

Hi! Thank you for your filling an issue.

I don't get you point. Is this an error you get during build? Or just AndroidStudio complaining about a wrong value? I just found out that an annotation is wrong, but that should not fail compiling... I will correct the annotation and make an hotfix release soon.

matecode avatar May 20 '20 12:05 matecode