mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-07 17:19:24 +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>>()
|
val resultList = mutableListOf<Pair<Int, TextSource>>()
|
||||||
|
|
||||||
while (mutableEntities.isNotEmpty()) {
|
while (mutableEntities.isNotEmpty()) {
|
||||||
var parent = mutableEntities.removeFirst()
|
var parent = mutableEntities.removeAt(0)
|
||||||
val subentities = mutableListOf<RawMessageEntity>()
|
val subentities = mutableListOf<RawMessageEntity>()
|
||||||
val toAddCutted = mutableListOf<RawMessageEntity>()
|
val toAddCutted = mutableListOf<RawMessageEntity>()
|
||||||
while (mutableEntities.isNotEmpty()) {
|
while (mutableEntities.isNotEmpty()) {
|
||||||
|
Reference in New Issue
Block a user