Changes from upstream:
Option to migrate/copy from dialog (requires manga to be initialized first)
Dialog shows up on all places you can add manga (browse source and global)
Closes #1207
Co-Authored-By: Felix Kaiser <30923667+foxscore@users.noreply.github.com>
No more RX, hello coroutines (because idk how to invoke rx after sorting)
Option to sort sources by most entries as well as alphabetical
Option to select uninstalled sources
Also keeping the Stubsource check for drawable setting Seishirou added before, since theres a delay with stub source apparently
Which has helped the app not run out of memory and crash 🥳 try as i might it's fairly stable now
Too anyone reading this. I'm very happy, I didn't even make these changes for memory management
fixes to scrolling
update recycler padding to cover above the fab only when it is showing
also hide/show the fab if theres selected items
fix margins for the fast scroller
fix inverse icon and title
Add background to draggable items - tachiyomiorg/tachiyomi@73e5e9ecd9
Grouped chapter download list by source - tachiyomiorg/tachiyomi@9106fc5b94
Add "Move all chapters from series to top" option to download context menu - tachiyomiorg/tachiyomi@3aa4e6eb93
add sort by chapter number in download queue - tachiyomiorg/tachiyomi@a083e1f71a
Fixes to fab pause/resume
Closes #1205
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-Authored-By: Franco Olivera <franco.olivera@fing.edu.uy>
Co-Authored-By: Riztard Lanthorn <16263232+Riztard@users.noreply.github.com>
Diffs from upstream:
* String change "Zoom landscape image" -> "Zoom into double page spreads" (I'll be honest I mixed up navigate to pan with landscape zoom for a while like an idiot, maybe thats why users are so lost on finding the setting)
landscape zoom setting is off by default
* Animated zoom just does a 2x zoom instead of full height, so its better for 2 page spreads, however there is a max of full height (minus device cutouts in non multiwindow mode)
Bugs found and fixed from upstream:
* Set the min for canPan to 0.01f, because I once got 1.2207031E-4 and couldn't navigate to the next page without manually panning then tapping again
* Fixed landscape zoom start direction being wrong when going from chaptransition.prev to a page spread, when that page spread is the current chapter (ie swipe to previous chapter page, swipe back, same happens with next) (logic needed to be updated for the forward bool in onPageChange)
* Purely a j2k issue (i think) but since I refresh the viewer on chapter load cuz of double pages, I need to pass null for forward in that case since the animation is already in motion and the current logic will break it
Closes #1195
Co-Authored-By: Gauthier <2139133+gotson@users.noreply.github.com>
* Most of the work for big toolbar
* minor fixes to library
* Using accurate offset for library
* nav icon fixes
* support tabs scrolling properly
* fix toolbar snap
* Add big icon next to large title
* Update MainActivity.kt
* Update browse sheet toolbar to be its own
* Update recent sheet toolbar to be its own
* fix pop from manga details
* cleanup of BigAppBarLayout
* Use LinearLayoutManagerAccurateOffset for recents
* Updates to searchview
* fix recents scrolling up on device config change
* Move search view up to top on tap
* Fix to recent and library searches
* Fix multi line big titles
* Fix config change resetting recycler scroll
* add end padding to big title
* More fixes
* Fixes to non scrollable appbar controllers
* Move swipe refresh circle with view
* Fix manga details toolbar
* Updates to recents and browse source when config changes
* Fixes to global search
* Fixes to popping from manga details
* clear search when switching controllers + fixes to global and source search
* Update search.xml
* update backgroundColor
* fixes to big appbar background on push
* use canShowFloatingToolbar where possible
* fix collapse/hide of dl bottom sheet
* persist search on config change
* Fix library menu on config change
* Fix recents toolbar placement while searching
* adjust calc of grid layout manager offset
* Fixes to range calculation in library
* More accurate scrollbar in manga details
* use item animator for moving appbar
* alpha on main tb
* accurate offset for settings
* updates to search activity
* Fixes to back button and up button
* Option to go back to smaller toolbar
* Optimization to fast computing offset
* moving scrollbar in library as app bar moves
* fixes to search title in recents
* fix popping into browse after 2 line big titles
* Updates to landscape and tablets
Tablets now always have a sticky header, just shrinks down
Phones in landscape will have a smaller big title
* fixes to main toolbar text alpha
* Fixes to device config changes
* remove updateOnRefresh preference
big toolbar now, you can just reach the first refresh button
* Fix category hopper
* Fix recents in small toolbar mode
* clean up and fixes
* Fixes to back press + search activity
* Fixes to going in and back out of manga details
* Optimizations to grid layout calculations
* adjustments to library fast scroller margins
* Fixes to download queue overflow menu
* Fixes to library search when popping
* Fixes to d/l sheet on launch
* expanding library search
* remove includeTabView as parameter
* remove sheetIsFullscreen
* fixes to bigToolbarHeight
* add onDetachedFromWindow to LinearLayoutManagerAccurateOffset
* add scrollUpAnyway to moveRecyclerViewUp
* snap swipe refresh circle with appbar
* Fixes to extension searching
* accurate offset use in ExtensionDetailsController
* alpha big view adjustments
* Fixes to MigrationController
* Dont change toolbar menus while scrolling down
* fix disappearing appbar in some cases
* Cleanup GlobalSearchController searchItem
* Cleanup SettingsMainController searchItem
* Update LibraryController.kt
* change onRoot to isControllerVisible and add to controller extensions
* lock appbar y when switching tabs
* Dont use large toolbar on extremely small devices
Basically devices in landscape that cant display nav rails
* Fixes to progress view and empty view in landscape
new layout for empty view for short devices
* move manager offsets to new files
* fix for ungrouped library mode
* clean up search items in BrowseSourceController
* dont show incog icon on main toolbar when search bar is showing
* fix browse source having the grid be offset when popping
* Fixes to estimated heights of viewholders
* rename large toolbar setting to expanded
also update setting copy to mention small devices will never show it
* BigAppBarLayout -> ExpandedAppBarLayout
* save a var for computedRange to ease the calls a bit
* fix crash
* Cleanup BaseToolbar
* Refactoring ExpandedAppBarLayout
* misc cleanup
* Rename ToolbarStates
* refactor toolbar height variable names
* More refactoring to MainActivity
* helper method for setTextColorAlpha
* Refactor MangaDetailsController
* Refactor Recents
* Refactoring settings controllers
* Cleanup Browse controller
* Remove Float.spToPx
its not used
* Clean up ControllerExtensions
* clean up import in BrowseController
* move itemanimator to a different method
same change was already made in staggered branch
* Fixes to browse source toolbar not being expanded
* cleanup ControllerExtensions.setAppBarBG
* Mainactivity cleanup
* Optimizations + fixes to setting menu items in search toolbar
* Fixes to switching between grid/list in browse source
with correct offsetting and all
* Fix findFirstVisibleItemPosition for offset layoutmanagers
* remove unneeded invalidateOptionsMenu calls
* More fixes to search toolbar menu in browse source
* filter sources controller now uses search toolbar too when using expanded mode
sticks back to main toolbar when collapsed (ie like older version of j2k)
* Fix compact -> expanded setting change when starting app in compact mode
* More fixes to BrowseSourceController
* Fixes to LibraryController search menu
* Filter sources search title is now just "search"
because not gonna add a new string for this
* Fix statusbar color when popping back to ext sheet
* Make adding submenu items recursive
* Fix appbar locking up in recents
* Fix download/ext sheet in landscape 3 nav devices
* Fixing to snapping on compact toolbars
* Fix search toolbar menu flashing so much on change
* Fix animation time of snapping compact appbar
* Fixes to toolbar for tablets
* Cleanup
* better handling of menu item in search toolbar
* minimize use of obtainStyledAttributes of mainActionBarSize