Fix title jumping around when refreshing (#5328)

This commit is contained in:
Andreas
2021-06-06 16:29:28 +02:00
committed by GitHub
parent f2e4b2fc99
commit de50f53be4
3 changed files with 8 additions and 5 deletions

View File

@ -288,6 +288,8 @@ class MangaInfoHeaderAdapter(
if (initialLoad && (fromSource || isTablet)) {
toggleMangaInfo()
initialLoad = false
// wrap_content and autoFixTextSize can cause unwanted behaviour this tries to solve it
binding.mangaFullTitle.requestLayout()
}
// Refreshes will change the state and it needs to be set to correct state to display correctly