Skip to content

Commit

Permalink
Set story image post minimum duration to 5s.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal committed Nov 17, 2022
1 parent 9931496 commit 29f22d5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -510,7 +510,7 @@ class StoryViewerPageFragment :
return if (caption.isNullOrEmpty()) {
DEFAULT_DURATION
} else {
calculateDurationForContentLength(caption.length)
max(DEFAULT_DURATION, calculateDurationForContentLength(caption.length))
}
}

Expand Down

0 comments on commit 29f22d5

Please sign in to comment.