mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
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