Tweaks on Library screen (#7597)

- Toolbar not having padding in landscape
- Fix library always refreshing everything even though user is refreshing category
- Tab text using primary color
- Fix Grid having to big of a top padding
- Fix Pager crashing when initial page is greater than the number of categories
This commit is contained in:
Andreas
2022-07-24 14:48:54 +02:00
committed by GitHub
parent 59f8c1a288
commit bc1f6ba517
6 changed files with 18 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ class LibraryController(
onDeleteClicked = ::showDeleteMangaDialog,
onClickFilter = ::showSettingsSheet,
onClickRefresh = {
if (LibraryUpdateService.start(context)) {
if (LibraryUpdateService.start(context, it)) {
context.toast(R.string.updating_library)
}
},