mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-03 23:29:33 +00:00
replace removeFirst with removeAt(0) in createTextSources
This commit is contained in:
@@ -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