mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 00:31:48 +01:00
ReaderActivity Lint fixes
This commit is contained in:
parent
82f711d62c
commit
2661cd6e2e
@ -575,7 +575,12 @@ 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(ContextCompat.getColor(this, R.color.tint_color_secondary))
|
binding.toolbar.navigationIcon?.setTint(
|
||||||
|
ContextCompat.getColor(
|
||||||
|
this,
|
||||||
|
R.color.tint_color_secondary
|
||||||
|
)
|
||||||
|
)
|
||||||
binding.toolbar.setNavigationOnClickListener {
|
binding.toolbar.setNavigationOnClickListener {
|
||||||
popToMain()
|
popToMain()
|
||||||
}
|
}
|
||||||
@ -622,7 +627,8 @@ class ReaderActivity :
|
|||||||
0.5f
|
0.5f
|
||||||
)
|
)
|
||||||
popup.menu.forEach {
|
popup.menu.forEach {
|
||||||
it.icon = ContextCompat.getDrawable(this@ReaderActivity, R.drawable.ic_blank_24dp)
|
it.icon =
|
||||||
|
ContextCompat.getDrawable(this@ReaderActivity, R.drawable.ic_blank_24dp)
|
||||||
}
|
}
|
||||||
popup.menu.getItem(presenter.manga?.viewer ?: 0)?.let { menuItem ->
|
popup.menu.getItem(presenter.manga?.viewer ?: 0)?.let { menuItem ->
|
||||||
menuItem.icon =
|
menuItem.icon =
|
||||||
|
Loading…
Reference in New Issue
Block a user