You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be that MotionToast uses a native Android toast mechanism and recent API levels don't respect non-standard toast durations by hiding the toast after Toast.LENGTH_SHORT period by default. I have added the ability to use LONG_DURATION within my fork's branch here - https://github.com/Simplx-dev/MotionToast/tree/toast_duration_fix
It does not accept arbitrary durations, however. Only MotionToast.LONG_DURATION and MotionToast.SHORT_DURATION which are translated to Toast.LENGTH_LONG and Toast.LENGTH_SHORT respectively are supported.
Most likely I'll create a pull request here with the changes soon if my previous PR gets merged.
LONG DRATION not working,..
as well custom duration not working...
The text was updated successfully, but these errors were encountered: