forked from upstream-mirrors/quik
Simplify showing back button on toolbar
This commit is contained in:
@@ -74,4 +74,8 @@ abstract class QkActivity<VM : QkViewModel<*, *>> : AppCompatActivity() {
|
||||
return result
|
||||
}
|
||||
|
||||
protected fun showBackButton(show: Boolean) {
|
||||
supportActionBar?.setDisplayHomeAsUpEnabled(show)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user