Commit 0f2caf90 authored by Divyanshu Bhargava's avatar Divyanshu Bhargava

minor fix

parent 7b425587
...@@ -113,7 +113,7 @@ class MainActivity : AppCompatActivity(), MainView, HasActivityInjector, HasSupp ...@@ -113,7 +113,7 @@ class MainActivity : AppCompatActivity(), MainView, HasActivityInjector, HasSupp
} }
header.image_avatar.setOnClickListener { header.image_avatar.setOnClickListener {
view_navigation.menu.getItem(1).isChecked = true view_navigation.menu.findItem(R.id.action_profile).isChecked = true
presenter.toUserProfile() presenter.toUserProfile()
drawer_layout.closeDrawer(Gravity.START) drawer_layout.closeDrawer(Gravity.START)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment