remove unnecessary code in getChatListIds
This commit is contained in:
parent
fb118fa1a4
commit
dd08aa3d31
2 changed files with 2 additions and 4 deletions
|
@ -134,9 +134,7 @@ class TelegramHelper private constructor() {
|
|||
}
|
||||
}
|
||||
|
||||
fun getChatListIds(): List<Long> {
|
||||
return getChatList().map { it.chatId }
|
||||
}
|
||||
fun getChatListIds() = getChatList().map { it.chatId }
|
||||
|
||||
fun getChatIds() = chats.keys().toList()
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class MyLocationTabFragment : Fragment(), TelegramListener, ChatLiveMessagesList
|
|||
private var searchBoxSidesMargin: Int = 0
|
||||
|
||||
private var appBarScrollRange: Int = -1
|
||||
|
||||
|
||||
private val app: TelegramApplication
|
||||
get() = activity?.application as TelegramApplication
|
||||
|
||||
|
|
Loading…
Reference in a new issue