Simplify showing back button on toolbar

This commit is contained in:
Moez Bhatti
2018-04-09 16:35:07 -04:00
parent bfb97834dc
commit a8b73b71e6
9 changed files with 21 additions and 14 deletions
@@ -44,7 +44,7 @@ class GalleryActivity : QkActivity<GalleryViewModel>(), GalleryView {
super.onCreate(savedInstanceState)
setContentView(R.layout.gallery_activity)
postponeEnterTransition()
supportActionBar?.setDisplayHomeAsUpEnabled(true)
showBackButton(true)
viewModel.bindView(this)
val transition = TransitionSet().apply {