Remove unnecessary apply
This commit is contained in:
parent
33a287ca9f
commit
a145db7e17
1 changed files with 3 additions and 5 deletions
|
@ -95,13 +95,11 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage
|
|||
sortByBtn = mainView.findViewById<TextView>(R.id.sort_button)
|
||||
updateSortBtn()
|
||||
|
||||
mainView.findViewById<LinearLayout>(R.id.sort_by_container).apply {
|
||||
setOnClickListener {
|
||||
mainView.findViewById<LinearLayout>(R.id.sort_by_container).setOnClickListener {
|
||||
fragmentManager?.also { fm ->
|
||||
SortByBottomSheet.showInstance(fm, this@LiveNowTabFragment, sortBy)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
openOsmAndBtn = mainView.findViewById<TextView>(R.id.open_osmand_btn).apply {
|
||||
setOnClickListener {
|
||||
|
|
Loading…
Reference in a new issue