replace removeFirst with removeAt(0) in createTextSources

This commit is contained in:
InsanusMokrassar committed 2025-01-27 09:09:06 +06:00
1 parent d9d68749f1
commit 71b944f9cc
1 file changed
+1 -1
@@ -124,7 +124,7 @@ private fun createTextSources(
val resultList = mutableListOf<Pair<Int, TextSource>>()
while (mutableEntities.isNotEmpty()) {
var parent = mutableEntities.removeFirst()
var parent = mutableEntities.removeAt(0)
val subentities = mutableListOf<RawMessageEntity>()
val toAddCutted = mutableListOf<RawMessageEntity>()
while (mutableEntities.isNotEmpty()) {