Andreas
fe373a95a2
Fix bugs in dual-page split ( #4983 )
...
If more bugs appear probably better to go back to the main thread and process dual-pages every time a page is shown as it did before
2021-04-30 09:14:20 -04:00
Andreas
0fef546a0d
Add manga-wised rotation mode settings ( #4841 )
...
* Add manga-wised rotation mode settings
Based on #3522
Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>
* Fix small mistakes
* Complete TODOs
* Rename functions
rotation -> orientation
* Fix orientation icon not changing
Bug from video
* Fix bug with force portrait not being force if a default value
Bug from video
* Backup viewer_flag as a seperate field in so legacy/forks doesn't crash
* Make viewer_flags nullable so old backups viewer gets restored
* Add migration for old rotation and viewer to new defaults ones
* Rename variable in enums
* Fix migration after OrientationType was changed
* Remove untrue comment
Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>
2021-04-28 08:32:47 -04:00
Ivan Iskandar
93e6136795
Use Coil ( #4870 )
...
* Use Coil
* Remove coil-transformations lib
* Add MangaCoverFetcher
* Remove Glide
* MangaCoverFetcher: Allow skipping custom cover usage
* Adjust coil caching policy for some non-library items
* Allow coil to use RGB565 only on low ram devices
* Fix image loading progress view not showing
a
* Increase coil crossfade duration
Same as default glide duration
* Add back request clearing
2021-04-28 08:32:00 -04:00
arkon
71c9df5279
Lint fixes
2021-04-27 17:46:34 -04:00
OncePunchedMan
9278407b85
Setting: Creates folders according to manga title ( #4861 )
...
* cherry-picking my changes
* Update SettingsDownloadController.kt
* Update SettingsDownloadController.kt
* Update ReaderPresenter.kt
Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-04-27 17:38:56 -04:00
Andreas
662b71436e
Cleanup dual page split ( #4956 )
...
* Cleanup Dual Page Split
* Move where images is processed
* Change parameter name to imageStream
* Use available instead of Int.MAX_VALUE
* Update JavaDoc
2021-04-25 11:08:51 -04:00
arkon
6ba82da029
Don't automatically go to HALF_EXPANDED state for color filter tab ( closes #4913 )
2021-04-25 10:59:53 -04:00
arkon
5f9574541f
Use popup menus for reader shortcuts instead of toggling through
2021-04-24 19:17:52 -04:00
arkon
e8d8621f06
Remove "Locked" orientation, replace with explicit orientations
...
Portrait/Landscape allow sensor, Locked Portrait/Landscape don't.
2021-04-23 22:37:43 -04:00
arkon
356b7c346a
Clean up ChapterCache (remove Gson, Rx usage)
2021-04-18 11:30:16 -04:00
arkon
9065362fde
Move reading mode toast to default bottom position
...
Toasts don't block user interaction, so it's probably fine.
2021-04-17 18:52:52 -04:00
arkon
54a23ddd1f
Long press reader settings icon to open color filter tab
...
Partially addresses #4867
2021-04-16 23:06:24 -04:00
arkon
3287ca9cf2
Add checkmark beside selected popup menu item
...
Based on what's in J2K. Also renamed to MaterialSpinnerView to match what's there.
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2021-04-16 22:39:19 -04:00
arkon
b4577d6676
Avoid crash when unknown reading mode is used
2021-04-14 18:03:48 -04:00
Jays2Kings
5f0493f1e5
Fix webtoon mode not calling OnPageSelected in some cases (in upstream too)
...
This fix isn't 100% tested, but like 80%.
@arkon if you're reading this, this issue is happening up stream too. I can make a issue for it in the repo but haven't checked if it happens there:
Steps:
Get Cubari source, search "cubari:imgur/3iOqiIy" change to continuous vertical, crop borders. Then back out and open the chapter again. onPageSelected isn't called because recycler position is -1. Regardless of the 4 pages you should be on
also fyi just a slight scroll fixes this issue but still
(cherry picked from commit 88fd6e5c9897d4a528f93dd02cfa2a4c644a799d)
2021-04-14 08:49:48 -04:00
arkon
a3f1b72126
Lint fixes/ignore some errors
2021-04-11 18:16:15 -04:00
arkon
9567d55312
Revert manga title folder for saved pages ( closes #4803 )
...
People also didn't like it making their galleries more complicate to navigate.
2021-04-10 14:33:14 -04:00
Taco
b3471234ad
Update NDK, more KTX usage ( #4792 )
...
* Update NDK
* Utilize more KTX extensions
2021-04-08 17:56:01 -04:00
arkon
dac2072eaa
Use app name for page download folder and use manga title subfolders ( closes #4684 )
2021-04-03 10:40:35 -04:00
arkon
a3992d9fbe
Minor cleanup
2021-04-03 10:12:31 -04:00
Tooster
efd2a0cb7b
Replace reading mode snackbar with toast ( #4752 )
2021-04-03 10:07:49 -04:00
arkon
7aa379a857
Better handle webtoon SSIV crop border change
2021-03-31 22:20:17 -04:00
arkon
1657f04d55
Add tooltips for previous/next chapter buttons
...
Based on d0738f5b00
2021-03-30 23:11:36 -04:00
arkon
407e798fdb
Recreate webtoon SSIV when crop borders setting changes ( fixes #4734 )
2021-03-30 18:47:44 -04:00
arkon
4054f2a6a0
Add icon for crop border shortcut off state
2021-03-30 18:27:09 -04:00
arkon
988ec6a224
Fix nav overlay always showing on start ( fixes #4736 )
2021-03-29 16:54:32 -04:00
Andreas
bdbdf211e2
Remove insert page when dual page split get turned off ( #4739 )
2021-03-29 16:54:20 -04:00
arkon
0437703cbf
Fix binding of intarray preferences (maybe fixes #4728 )
2021-03-28 17:06:56 -04:00
arkon
d501c02f8b
Add crop borders shortcut
2021-03-28 16:25:53 -04:00
arkon
dfa07a5f35
Clean up SpinnerPreference a bit
2021-03-28 16:13:59 -04:00
arkon
437c995d12
Show nav overlay on invert tap change
...
Based on db4eca90e9
2021-03-28 16:13:34 -04:00
arkon
3d99a8ebdb
Fix fullscreen not applying on opening reader ( fixes #4723 )
2021-03-28 10:48:41 -04:00
arkon
c4b975b777
Cleanup reader spinner layouts
2021-03-27 17:59:52 -04:00
arkon
14c114756d
Clean up reader sheet spinner preferences
...
Based on fe2543b9d5
Co-Authored-By: Jays2Kings
2021-03-27 16:28:49 -04:00
arkon
e7a8107279
Reduce height of sheet when on color filter tab
2021-03-27 15:15:31 -04:00
arkon
bff73b1b40
Add tooltips to bottom reader menu items
2021-03-27 10:53:31 -04:00
arkon
64c47bbaed
Split general and reading mode sheet settings
2021-03-26 22:31:21 -04:00
arkon
e0b7698d40
Merge reader settings and color filter sheets
...
Heavily influenced by fe2543b9d5 (diff-8f47d7b7b53769ac18c28fe9978140c6bef44709879567acab2c6ef3270cd3a8)
2021-03-25 23:10:22 -04:00
arkon
78285bdf37
Minor code cleanup
2021-03-20 15:58:54 -04:00
Andreas
5a7f2684b3
Add navigation layout overlay ( #4683 )
...
* Add navigation layout overlay
* Minor clean up
Destroy animator when done not on start
Move and change pref title
Add summary
2021-03-20 15:36:01 -04:00
arkon
609d8c9685
Add icons for reading mode toggle
2021-03-14 17:13:20 -04:00
arkon
2f08515455
Less janky enum iteration
2021-03-14 17:03:43 -04:00
arkon
cdc5de3f1b
Flip order of previous chapter reader transition text ( closes #4608 )
2021-03-14 16:18:52 -04:00
arkon
1e58b05ead
Add reading mode toggle
2021-03-13 16:47:16 -05:00
arkon
938919bd9b
Move reader setting related classes
2021-03-13 16:24:44 -05:00
arkon
fde6b7af4f
Disable sensor when using force orientation ( closes #4618 )
2021-03-13 15:47:43 -05:00
Andreas
7a64bf55cb
Dual page split allow to have different setting for Paged and Webtoon ( #4527 )
2021-02-28 16:17:37 -05:00
Andreas
776610d0e6
Let users invert dual page split ( #4470 )
...
* Let users invert dual page split
* Use Activity lifecycleScope and cleanup invert logic
2021-02-20 09:26:57 -05:00
arkon
33992d80bf
Add orientation toggle to bottom reader menu
2021-02-13 18:50:50 -05:00
arkon
89837e4ced
Initial adoption of bottom reader menus from TachiyomiSY
...
Co-authored-by: Jobobby04 <jobobby04@users.noreply.github.com>
Co-authored-by: CrepeTF <CrepeTF@users.noreply.github.com>
2021-02-13 10:47:17 -05:00