Set story image post minimum duration to 5s.
This commit is contained in:
parent
9931496b0f
commit
29f22d515a
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ class StoryViewerPageFragment :
|
|||
return if (caption.isNullOrEmpty()) {
|
||||
DEFAULT_DURATION
|
||||
} else {
|
||||
calculateDurationForContentLength(caption.length)
|
||||
max(DEFAULT_DURATION, calculateDurationForContentLength(caption.length))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue