mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
replace removeFirst with removeAt(0) in createTextSources
This commit is contained in:
1 parent
d9d68749f1
commit
71b944f9cc
1 file changed
+1
-1
+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()) {
|
||||
|
||||
Reference in new issue
Block a user