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
@@ -56,7 +56,7 @@ class ThemePickerActivity : QkThemedActivity<ThemePickerViewModel>(), ThemePicke
super.onCreate(savedInstanceState)
setContentView(R.layout.theme_picker_activity)
setTitle(R.string.title_theme)
supportActionBar?.setDisplayHomeAsUpEnabled(true)
showBackButton(true)
viewModel.bindView(this)
pager.offscreenPageLimit = 1