mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 19:58:57 +03:00
Do not allow to flow RTL after summarized, playback time always flows LTR.
This commit is contained in:
parent
e09b123a91
commit
4cb432e497
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ class AudioWaveformView @JvmOverloads constructor(
|
|||
}
|
||||
|
||||
private fun List<FFT>.summarize(target: Int): List<FFT> {
|
||||
flow = Flow.LTR
|
||||
val result = mutableListOf<FFT>()
|
||||
if (size <= target) {
|
||||
result.addAll(this)
|
||||
|
|
Loading…
Add table
Reference in a new issue