mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Set story image post minimum duration to 5s.
This commit is contained in:
@@ -510,7 +510,7 @@ class StoryViewerPageFragment :
|
||||
return if (caption.isNullOrEmpty()) {
|
||||
DEFAULT_DURATION
|
||||
} else {
|
||||
calculateDurationForContentLength(caption.length)
|
||||
max(DEFAULT_DURATION, calculateDurationForContentLength(caption.length))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user