mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-26 11:07:51 +02:00
App-wide typography adjustments (#5931)
* Manga detail Also adjust chapter item layout to accommodate bigger display/font size * Library * Updates * History * Browse * Preferences * Button * Navigation view * category-download * Google Sans * Reader * Chips * Revert "Google Sans" This reverts commit 5dd4c41f * Misc * Cleanups * Section header text appearance * Increase library manga title size * Revert "Increase library manga title size" This reverts commit 474be913 * Increase section header letter spacing * Derps
This commit is contained in:
@ -13,6 +13,7 @@ class UpdatesAdapter(
|
||||
|
||||
var readColor = context.getResourceColor(R.attr.colorOnSurface, 0.38f)
|
||||
var unreadColor = context.getResourceColor(R.attr.colorOnSurface)
|
||||
val unreadColorSecondary = context.getResourceColor(android.R.attr.textColorSecondary)
|
||||
var bookmarkedColor = context.getResourceColor(R.attr.colorAccent)
|
||||
|
||||
val coverClickListener: OnCoverClickListener = controller
|
||||
|
@ -45,7 +45,9 @@ class UpdatesHolder(private val view: View, private val adapter: UpdatesAdapter)
|
||||
binding.mangaTitle.setTextColor(adapter.readColor)
|
||||
} else {
|
||||
binding.mangaTitle.setTextColor(adapter.unreadColor)
|
||||
binding.chapterTitle.setTextColor(if (item.bookmark) adapter.bookmarkedColor else adapter.unreadColor)
|
||||
binding.chapterTitle.setTextColor(
|
||||
if (item.bookmark) adapter.bookmarkedColor else adapter.unreadColorSecondary
|
||||
)
|
||||
}
|
||||
|
||||
// Set bookmark status
|
||||
|
Reference in New Issue
Block a user