mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 20:19:05 +01:00
ChapterDownloadIndicator: Fixes and improvements (#7485)
* Increased touch target * Fix downloaded icon smaller than other states * Deferred state reads to minimize recompose works * Move things around to eliminate unnecessary elements
This commit is contained in:
@@ -27,8 +27,8 @@ class ChapterDownloadView @JvmOverloads constructor(
|
||||
override fun Content() {
|
||||
TachiyomiTheme {
|
||||
ChapterDownloadIndicator(
|
||||
downloadState = state,
|
||||
downloadProgress = progress,
|
||||
downloadStateProvider = { state },
|
||||
downloadProgressProvider = { progress },
|
||||
onClick = listener,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user