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
@@ -74,4 +74,8 @@ abstract class QkActivity<VM : QkViewModel<*, *>> : AppCompatActivity() {
return result
}
protected fun showBackButton(show: Boolean) {
supportActionBar?.setDisplayHomeAsUpEnabled(show)
}
}