Commit graph

303 commits

Author SHA1 Message Date
arkon
d46a742a43 Convert rotation to FlowPreference, remove some unused subscriptions code 2020-05-10 11:42:46 -04:00
MCAxiaz
dc54299e24
Manga cover updates (#3101)
* cover caching overhaul

* add ui for removing custom cover

* skip some loading work

* minor cleanup

* allow refresh library metadata to refresh local manga

* rename metadata_date to cover_last_modified

* rearrange removeMangaFromLibrary

* change custom cover directory
add setting for updating cover when refreshing library

* remove toggle and explicit action for updating covers
2020-05-10 11:15:25 -04:00
arkon
3d1250f2f8 Do some download deletion in coroutines instead of completable 2020-05-07 19:34:40 -04:00
arkon
8383f4fb7b Increase webtoon setting change page refresh range (closes #3088) 2020-05-06 23:06:49 -04:00
arkon
dbd14c6dac Refresh page on 32-bit color setting change 2020-05-05 17:45:07 -04:00
arkon
ce0090f0ca Bunch of crash fixes 2020-05-03 12:17:10 -04:00
arkon
e8623fbd7d Show 32-bit color setting in reader sheet 2020-05-02 10:40:55 -04:00
arkon
1ab07d169d Add gray reader background option (closes #3019) 2020-05-01 21:40:36 -04:00
Gennadiy Stas
e29fb68375
fix preload never being restricted (#3012)
Fix preload never being restricted
2020-05-01 18:03:27 -04:00
arkon
5059c6295f Increase next chapter preload threshold to last 5 pages 2020-04-29 23:04:15 -04:00
Jay
cc7735e284 No longer using chapter url for new chapter notification's reader intent 2020-04-28 23:06:34 -04:00
arkon
74af40a352 Revert hiding cutout setting from reader sheet 2020-04-28 17:47:34 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon
134dbd2f1d Revert some seekbar event listener changes 2020-04-25 09:58:45 -04:00
arkon
dad010a891 Replace some listeners with flowbindings 2020-04-24 19:37:34 -04:00
arkon
9f974c9401 Refactor library sheet into tabs 2020-04-24 18:15:37 -04:00
arkon
2a4f35959b Hide reader cutout setting if no cutout detected 2020-04-22 23:22:03 -04:00
arkon
53a3be0703 Migrate more preferences 2020-04-22 22:19:21 -04:00
arkon
04a178e7da Move common view configs to parent class 2020-04-22 21:46:02 -04:00
arkon
932a47a8a7 Update Material Dialogs 2020-04-21 23:33:01 -04:00
MCAxiaz
b3611eef9d
Bug/2894 covers not updating (#2908)
* Use a wrapper around Manga to supply glide with proper equals() and hashCode() impl. for caching

* reload image if url has changed

* ignore case for http scheme comparison

* more ignore case for http scheme comparison

* fix indenting

* use data class for MangaThumbnail
2020-04-21 09:13:23 -04:00
arkon
3d10dad780 Complete RxBindings to FlowBinding migration 2020-04-20 18:13:45 -04:00
TacoTheDank
415df2357c
JDK8, lint fixing (#2888)
* Use Kotlin JDK8

* Satisfy a ton of lints

* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
morcefaster
4fc8800a37
Webtoon zoom out (#2892)
* Increased added support for zoom out on webtoons to help with horizontal layout reading

* Renamed var
2020-04-18 14:43:54 -04:00
arkon
6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00
arkon
b8152dd7f9 More FlowPreferences migrations 2020-04-17 20:15:33 -04:00
arkon
678c004a64 Add parent class for view configs 2020-04-17 20:10:29 -04:00
raslmenea
8de004d281
toggle reader menu if transition by tapping are disabled (#2887)
Co-authored-by: raslmenea.rm@gmail.com <xpuf4MQNzDtnaqR>
2020-04-17 18:35:04 -04:00
arkon
9dc184adff Make immersive mode slightly more reliable on rotation 2020-04-16 22:00:10 -04:00
morcefaster
5d03eef051
Prevented overzealous preloading (#2882) 2020-04-16 17:22:44 -04:00
arkon
1a50f7062a Migrate to ViewBinding in ReaderActivity 2020-04-10 14:23:38 -04:00
arkon
51d93f0217 Open decode error pages in webview instead of browser 2020-04-10 11:49:51 -04:00
arkon
fdc7981d18 Tweak webtoon margin setting 2020-04-10 11:45:30 -04:00
arkon
145a744ce0 Merge branch 'feature/webtoon-margins' of git://github.com/jleehey/tachiyomi into jleehey-feature/webtoon-margins
# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/preference/PreferenceDSL.kt
#	app/src/main/res/values/strings.xml
2020-04-10 11:14:09 -04:00
arkon
627a720d4b Migrate to ViewBinding from Kotlin synthetics in controllers 2020-04-08 23:06:28 -04:00
arkon
dd59748bf0 Minor cleanup 2020-04-07 22:44:37 -04:00
jobobby04
38ceaf5253
Add Continuous vertical reading mode (#2833)
* Add Continuous Vertical reader mode

* Remove separate webtoon padding option

(cherry picked from commit 3e7d15e51856297210e46e9f5bb0b8394067ce1a)

* Continuas vertical Lowercase v

(cherry picked from commit 515cca7d6704343eb9acb1a38a2bdcda01e7395a)
2020-04-07 22:35:43 -04:00
arkon
a3b660a2c9 Respect chapter list filtering when reading (closes #2810) 2020-04-01 22:37:28 -04:00
arkon
ed277357cf Bookmark via reader (closes #1413) 2020-03-28 14:38:47 -04:00
morcefaster
31e2fe6a4c
Faulty preload fix (#2731)
* Condition for preload

* Added preload fix for webtoon viewer. Replaced incorrect last-page logic

* Requested refactoring

* Requested changes

* Requested changes
2020-03-18 09:45:22 -04:00
morcefaster
cd867f800e
Fix for perpetually loading chapters (#2718)
* Fix for perpetually loading chapters

* Removed page count check
2020-03-16 12:20:35 -04:00
arkon
ef0b546d4c Replace more icons 2020-03-15 16:46:38 -04:00
morcefaster
088f8b8b54
Changed default pager zoom style to ZOOM_FOCUS_CENTER (#2713)
Changed default pager zoom style to ZOOM_FOCUS_CENTER
2020-03-15 16:02:40 -04:00
arkon
a0dffcf51f Address some build warnings 2020-03-13 18:23:07 -04:00
arkon
c7cdb950ce Simplify viewer check 2020-03-10 18:23:14 -04:00
arkon
921169b3ad Fix sheet pager setting visibility when default is webtoon 2020-03-09 19:51:38 -04:00
arkon
d5ff5fd6f8 More consistent usage of visibility extensions 2020-03-09 18:42:41 -04:00
arkon
e195257d2a Update visible pager settings on change (fixes #2143) 2020-03-09 17:07:08 -04:00
arkon
de512216c4 Start preloading next chapter if within last 3 pages instead of last page 2020-03-09 15:09:17 -04:00
morcefaster
9936b402a6
Added config to hide transition page when not needed (#2682)
* Added config to hide transition page when not needed

* Moved always_show_chapter_transition setting to General group
2020-03-09 14:36:29 -04:00