Two-Ai
e4bc8990fb
Replace RxJava in HttpPageLoader downloader ( #8955 )
...
* Convert downloader Observable to flow
Uses `runInterruptible` to turn the blocking call to `queue.take()`
into a cancellable call.
Flow collection is ended by cancelling the scope in `recycle`. This
means the `HttpPageLoader` can't be reused after calling `recycle`,
but this was true with the `Observable` as well.)
* Convert load Observables to suspending function
Inlining the Observables allows for some simplification of the error
handling. Behavior should be otherwise identical.
* Convert cleanup Completable to coroutine
Uses global `launchIO`, not ideal but similar to previous behavior.
Can't be scheduled on the local `scope` as this runs after `scope` is
cancelled.
2023-01-21 16:46:16 -05:00
Andreas
823749fc1e
Move SQLDelight to data module ( #8954 )
...
And use tachiyomi instead of eu.kanade.tachiyomi for package names in the module
2023-01-21 10:37:07 -05:00
arkon
7a972dfdb7
Don't use platform attributes for white/black reader backgrounds
...
Probably fixes #8946
2023-01-18 22:49:28 -05:00
arkon
2695a4d8c7
Update local source icon and differentiate from fallback source icon
...
Closes #8934
2023-01-16 22:54:45 -05:00
arkon
1a4dad72a9
Hide WebView menu item in reader if local
...
Closes #8932
2023-01-16 22:40:36 -05:00
beerpsi
b7e6b4c28a
[MyAnimeList] Handle cases where my_list_status.status is not present ( #8931 )
2023-01-16 21:59:07 -05:00
stevenyomi
293b967858
Fix installing extensions on MIUI ( #8916 )
...
* Fix installing extensions on MIUI
* isShizukuReady -> isShizukuInstalled
2023-01-15 10:32:27 -05:00
arkon
e468554fd9
Assign keys for global search rows based on source
...
Maybe fixes #8924
2023-01-15 10:14:28 -05:00
arkon
5b5eb92184
Fix checking downloads banner showing up incorrectly
2023-01-14 20:04:36 -05:00
Two-Ai
58ebf14691
Convert PageLoader.getPages to suspending function ( #8917 )
2023-01-14 19:45:15 -05:00
Verzaukeks
992bab4f79
Prevent scrolling outside bounds in webtoon/vertical reading mode ( #8821 )
2023-01-14 18:38:52 -05:00
zbue
f301dc64f0
Allow partially read chapters to be marked as unread in updates screen ( #8884 )
...
* Allow partially read chapters to be marked as unread in updates screen
* Review changes
* Review changes 2
2023-01-14 18:26:40 -05:00
zbue
33a2219716
Enable confirmButton
only when needed to respond to user input ( #8848 )
...
* Enable `confirmButton` when appropriate
* Show error in dialog instead
* Follow M3 guidelines
2023-01-14 18:24:57 -05:00
Two-Ai
62480f090b
Replace RxJava in ChapterLoader and ReaderViewModel ( #8915 )
...
* Replace RxJava in ChapterLoader
* Don't swallow CancellationException
* Simplify loadChapter behavior
* Add error handling to loadAdjacent
2023-01-14 18:22:27 -05:00
zbue
287489d7d0
Show chapter scanlator on reader transition ( #8910 )
...
Closes #7131
2023-01-14 17:00:04 -05:00
arkon
2df0236669
Show loading indicator during migration
...
Closes #8862
2023-01-13 23:01:52 -05:00
Aria Moradi
c54d77333f
Suwayomi Tracker: sync changes with Tachidesk v0.6.6 ( #8902 )
...
* Suwayomi Tracker: sync changes with Tachidesk v0.6.6
* replace var with val
2023-01-13 22:31:04 -05:00
Two-Ai
8c494f314c
Fix DownloadPageLoader resource leak ( #8905 )
...
The underlying ZipFile is leaking. To fix, store a reference to the
ZipPageLoader and recycle it on recycle.
2023-01-13 22:30:47 -05:00
Two-Ai
8cea78de83
Fix ChapterCache.isImageInCache() resource leak ( #8907 )
...
diskCache.get() returns a DiskLruCache.Snapshot which must be closed.
2023-01-13 22:30:26 -05:00
arkon
b6468c7e31
Only how indexing downloads banner the first time
...
Closes #8903
2023-01-13 18:40:59 -05:00
arkon
91004ad514
Parallelize global search properly
...
Fixes #8906
2023-01-13 17:58:00 -05:00
arkon
a2ee4e63ae
Minor cleanup
2023-01-12 22:53:28 -05:00
zbue
768bb7b503
Fix downloaded filter unmatched state in manga screen ( #8897 )
2023-01-12 22:26:04 -05:00
zbue
db4ae134aa
Tweak TriStateItem
view to match in earlier app version ( #8898 )
...
* Tweak `TriStateItem` view to match in earlier app version
* Apply to disabled state too
2023-01-12 17:46:24 -05:00
Alessandro Jean
7329f03bc5
Show proper Exception message in MangaScreen ( #8900 )
...
Show proper Exception message in MangaScreen.
2023-01-12 17:45:38 -05:00
arkon
82ea643c7d
Don't prompt to add to library multiple times
...
Fixes #8842
2023-01-11 20:00:50 -05:00
arkon
741c10e0b9
Reword set category dialog confirmation to "OK"
...
Closes #8878
2023-01-11 19:31:40 -05:00
arkon
34bb90f3c2
Update library sheet filter tab on open
...
Fixes #8885
2023-01-11 19:14:37 -05:00
arkon
f04cf72c0c
Bump core-ktx dependency
2023-01-11 19:01:13 -05:00
arkon
75b23c99ec
Refactor how extensions list is modelled
...
To better enable changing the UI in the future based on sections.
2023-01-10 23:18:34 -05:00
arkon
6bb3070c57
Show no pinned sources message when attempting to migrate/search
2023-01-10 22:39:19 -05:00
arkon
7df10b076c
Show the tracker name when showing error toast
2023-01-09 23:27:11 -05:00
Two-Ai
2245658363
Replace RxJava in DownloadQueueScreenModel ( #8872 )
2023-01-09 23:08:04 -05:00
arkon
46774771ec
Fix double tapping History not working consistently
...
Fixes #8875
2023-01-09 22:50:11 -05:00
arkon
6263817bb4
Avoid crash if multiple instances of ClearDatabaseScreen opened
...
Fixes #8851
I guess we might want to do this for all screens? Maybe?
2023-01-08 22:16:40 -05:00
arkon
60456fe0e9
Fix crash in categories screen on config change
...
Fixes #8861
2023-01-08 22:12:53 -05:00
arkon
a0f47d3f1b
Don't exclude same source when checking for duplicate entries
...
Closes #8870
2023-01-08 22:06:42 -05:00
arkon
6efcb8ccfa
Use Voyager for WebView in non-reader places
2023-01-08 16:37:43 -05:00
arkon
0067d474c8
Use theme padding values in more places
2023-01-08 15:41:06 -05:00
MCAxiaz
cf393b217b
Add Reader Setting to Skip Dupe Chapters ( #8831 )
...
Add reader setting to filter dupe chapters with same scanlator priority.
2023-01-08 15:40:23 -05:00
arkon
e265b929a1
Avoid crashes when fetching assist content URL in ReaderActivity
2023-01-08 15:23:06 -05:00
arkon
4cd01428ed
Only show MIUI extension warning on MIUI >= 13
...
Related to #8834
2023-01-08 15:04:06 -05:00
arkon
3be05fbf9b
Make global search results more compact
2023-01-08 10:48:35 -05:00
arkon
5d90ba8aa0
Only show library continue reading button if there's unread chapters
...
Closes #8865
2023-01-08 10:43:01 -05:00
arkon
48cab708ce
Show available but not installed enhanced trackers
...
Closes #8859
2023-01-08 10:37:30 -05:00
arkon
5d9753d6a7
Bump minimum ext-lib to 1.3
2023-01-08 10:32:35 -05:00
arkon
425e48bec6
Avoid crashes when opening WebView from reader
...
Also ensure WebViewActivity has an Assistant URL when it first opens with a URL.
2023-01-08 10:17:54 -05:00
stevenyomi
2a3c3d8d6a
Fix reader settings sheet's mode section not updated ( #8857 )
2023-01-07 15:13:08 -05:00
stevenyomi
7b026cec8d
Fix floating-point error in navigate pan ( #8856 )
2023-01-07 15:09:10 -05:00
arkon
d8b528a4e0
Remove repetition in enhanced tracker preference declarations
...
Also hides entries that aren't relevant (i.e. if you don't have the source installed).
2023-01-07 14:41:27 -05:00