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)
|
sortByBtn = mainView.findViewById<TextView>(R.id.sort_button)
|
||||||
updateSortBtn()
|
updateSortBtn()
|
||||||
|
|
||||||
mainView.findViewById<LinearLayout>(R.id.sort_by_container).apply {
|
mainView.findViewById<LinearLayout>(R.id.sort_by_container).setOnClickListener {
|
||||||
setOnClickListener {
|
|
||||||
fragmentManager?.also { fm ->
|
fragmentManager?.also { fm ->
|
||||||
SortByBottomSheet.showInstance(fm, this@LiveNowTabFragment, sortBy)
|
SortByBottomSheet.showInstance(fm, this@LiveNowTabFragment, sortBy)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
openOsmAndBtn = mainView.findViewById<TextView>(R.id.open_osmand_btn).apply {
|
openOsmAndBtn = mainView.findViewById<TextView>(R.id.open_osmand_btn).apply {
|
||||||
setOnClickListener {
|
setOnClickListener {
|
||||||
|
|
Loading…
Reference in a new issue