Unverified Commit b6b86885 authored by Leonardo Aramaki's avatar Leonardo Aramaki Committed by GitHub

Merge pull request #992 from divyanshub024/Navigate-to-profile

[IMPROVEMENT] Navigate to profile on click on avatar
parents f9ceaf6b c273d021
......@@ -111,6 +111,12 @@ class MainActivity : AppCompatActivity(), MainView, HasActivityInjector, HasSupp
expanded = !expanded
}
header.image_avatar.setOnClickListener {
view_navigation.menu.findItem(R.id.action_profile).isChecked = true
presenter.toUserProfile()
drawer_layout.closeDrawer(Gravity.START)
}
}
override fun showMessage(resId: Int) = showToast(resId)
......
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