refactor setupOptionsBtn call
This commit is contained in:
parent
4cd1a344ba
commit
06594ff687
1 changed files with 3 additions and 3 deletions
|
@ -111,10 +111,10 @@ class MyLocationTabFragment : Fragment(), TelegramListener, ChatLiveMessagesList
|
|||
setImageResource(R.drawable.img_my_location_user)
|
||||
}
|
||||
|
||||
optionsBtn = mainView.findViewById<ImageView>(R.id.options)
|
||||
with(activity as MainActivity) {
|
||||
optionsBtn = mainView.findViewById<ImageView>(R.id.options)
|
||||
activity.setupOptionsBtn(optionsBtn)
|
||||
activity.setupOptionsBtn(mainView.findViewById<ImageView>(R.id.options_title))
|
||||
setupOptionsBtn(optionsBtn)
|
||||
setupOptionsBtn(mainView.findViewById<ImageView>(R.id.options_title))
|
||||
}
|
||||
|
||||
imageContainer = mainView.findViewById<FrameLayout>(R.id.image_container)
|
||||
|
|
Loading…
Reference in a new issue