Few UI improvments & fixes (#1229)
## Description - Add indicator to mark the chosen version on the choose version dialog - Add an option for album's context menu to add it to the now playing queue - Fix how season cards refresh on the series detail page so the images don't glitch ### Related issues Related to #1220 ### Testing Emulator mostly ## Screenshots The indicator shows which version will play, whether explicitly chosen by the user or implicitly picked by Wholphin.  ## AI or LLM usage None
This commit is contained in:
parent
ff37eff27d
commit
97e10f57ca
17 changed files with 117 additions and 34 deletions
|
|
@ -107,6 +107,13 @@ abstract class RequestPager<T>(
|
|||
}
|
||||
}
|
||||
|
||||
suspend fun refresh() {
|
||||
cachedPages.asMap().keys.forEachIndexed { index, pageNum ->
|
||||
if (DEBUG) Timber.v("refresh: pageNum=%s", pageNum)
|
||||
fetchPageBlocking(pageNum * pageSize, index == 0)
|
||||
}
|
||||
}
|
||||
|
||||
protected abstract suspend fun fetchPage(
|
||||
pageNumber: Int,
|
||||
includeTotalCount: Boolean,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue