Fix tint of reader back button

This commit is contained in:
Jays2Kings 2021-04-28 16:36:43 -04:00
parent 975bd43ea1
commit a30e4ebcbc

View File

@ -560,12 +560,7 @@ class ReaderActivity :
binding.appBar.setBackgroundColor(primaryColor) binding.appBar.setBackgroundColor(primaryColor)
window.statusBarColor = Color.TRANSPARENT window.statusBarColor = Color.TRANSPARENT
supportActionBar?.setDisplayHomeAsUpEnabled(true) supportActionBar?.setDisplayHomeAsUpEnabled(true)
binding.toolbar.navigationIcon?.setTint( binding.toolbar.navigationIcon?.setTint(getResourceColor(R.attr.actionBarTintColor))
ContextCompat.getColor(
this,
R.color.tint_color_secondary
)
)
binding.toolbar.setNavigationOnClickListener { binding.toolbar.setNavigationOnClickListener {
popToMain() popToMain()
} }