arkon
345e9c2a9a
Move more models to domain module
2 years ago
arkon
b53e24e0db
Move more models to domain module
2 years ago
Andreas
d3a73fc228
Move Category `model` and `repository` to domain and data layer ( #8967 )
...
To keep the commit from being 100+ files the interactors wasn't moved.
The domain module like the data module uses `tachiyomi` instead of `eu.kanade.tachiyomi` for package names
2 years ago
arkon
2ebc8d9ae5
Save current page state on configuration change
...
Fixes #8881
The actual issue is that the ViewModel migration actually differs between what the current `init` block
and previous `onSave` methods did; where the `init` block does not get triggered on saving the
instance on config changes.
Not entirely sure why onSaveInstanceState was explicitly avoided for config changes before, but we
just do it all the time now and end up updating the requestedPage with the current page.
2 years ago
zbue
e28b015580
MangaScreenModel: Make download function follow reader preference ( #8920 )
...
* Make download function more clearer in manga screen
Maybe resolves #8879
* Minor cleanup
* Minor cleanup 2
2 years ago
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.
2 years ago
Andreas
823749fc1e
Move SQLDelight to data module ( #8954 )
...
And use tachiyomi instead of eu.kanade.tachiyomi for package names in the module
2 years ago
Andreas
2b5d9fd76b
Move shared configuration to subprojects in root Gradle file ( #8951 )
...
* Move shared configuration to subprojects in root Gradle file
* Missed but not forgotten
* Review changes
2 years ago
arkon
7a972dfdb7
Don't use platform attributes for white/black reader backgrounds
...
Probably fixes #8946
2 years ago
Andreas
c31e75f02f
Create plugin for linting ( #8942 )
2 years ago
arkon
2695a4d8c7
Update local source icon and differentiate from fallback source icon
...
Closes #8934
2 years ago
arkon
1a4dad72a9
Hide WebView menu item in reader if local
...
Closes #8932
2 years ago
beerpsi
b7e6b4c28a
[MyAnimeList] Handle cases where my_list_status.status is not present ( #8931 )
2 years ago
stevenyomi
293b967858
Fix installing extensions on MIUI ( #8916 )
...
* Fix installing extensions on MIUI
* isShizukuReady -> isShizukuInstalled
2 years ago
arkon
e468554fd9
Assign keys for global search rows based on source
...
Maybe fixes #8924
2 years ago
arkon
5b5eb92184
Fix checking downloads banner showing up incorrectly
2 years ago
Two-Ai
58ebf14691
Convert PageLoader.getPages to suspending function ( #8917 )
2 years ago
Verzaukeks
992bab4f79
Prevent scrolling outside bounds in webtoon/vertical reading mode ( #8821 )
2 years ago
arkon
6fe650319d
Bump versionCode to prevent downgrades
...
Since the database schema was changed in f301dc64
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
zbue
e7937fe562
Make androidx.preference dialog match M3 dialog ( #8909 )
2 years ago
zbue
287489d7d0
Show chapter scanlator on reader transition ( #8910 )
...
Closes #7131
2 years ago
arkon
2df0236669
Show loading indicator during migration
...
Closes #8862
2 years ago
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
2 years ago
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.
2 years ago
Two-Ai
8cea78de83
Fix ChapterCache.isImageInCache() resource leak ( #8907 )
...
diskCache.get() returns a DiskLruCache.Snapshot which must be closed.
2 years ago
arkon
b6468c7e31
Only how indexing downloads banner the first time
...
Closes #8903
2 years ago
arkon
91004ad514
Parallelize global search properly
...
Fixes #8906
2 years ago
arkon
a2ee4e63ae
Minor cleanup
2 years ago
zbue
768bb7b503
Fix downloaded filter unmatched state in manga screen ( #8897 )
2 years ago
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
2 years ago
Alessandro Jean
7329f03bc5
Show proper Exception message in MangaScreen ( #8900 )
...
Show proper Exception message in MangaScreen.
2 years ago
arkon
82ea643c7d
Don't prompt to add to library multiple times
...
Fixes #8842
2 years ago
arkon
741c10e0b9
Reword set category dialog confirmation to "OK"
...
Closes #8878
2 years ago
arkon
34bb90f3c2
Update library sheet filter tab on open
...
Fixes #8885
2 years ago
arkon
f04cf72c0c
Bump core-ktx dependency
2 years ago
arkon
75b23c99ec
Refactor how extensions list is modelled
...
To better enable changing the UI in the future based on sections.
2 years ago
arkon
6bb3070c57
Show no pinned sources message when attempting to migrate/search
2 years ago
arkon
7df10b076c
Show the tracker name when showing error toast
2 years ago
Two-Ai
2245658363
Replace RxJava in DownloadQueueScreenModel ( #8872 )
2 years ago
arkon
46774771ec
Fix double tapping History not working consistently
...
Fixes #8875
2 years ago
arkon
6263817bb4
Avoid crash if multiple instances of ClearDatabaseScreen opened
...
Fixes #8851
I guess we might want to do this for all screens? Maybe?
2 years ago
arkon
60456fe0e9
Fix crash in categories screen on config change
...
Fixes #8861
2 years ago
arkon
a0f47d3f1b
Don't exclude same source when checking for duplicate entries
...
Closes #8870
2 years ago
arkon
6efcb8ccfa
Use Voyager for WebView in non-reader places
2 years ago
arkon
0067d474c8
Use theme padding values in more places
2 years ago
MCAxiaz
cf393b217b
Add Reader Setting to Skip Dupe Chapters ( #8831 )
...
Add reader setting to filter dupe chapters with same scanlator priority.
2 years ago
arkon
e265b929a1
Avoid crashes when fetching assist content URL in ReaderActivity
2 years ago