ad106bd884
Add new "Lavender" theme ( #7343 )
...
* Add new "Lavender" theme
* Add light theme values for Lavender theme
* Fix order of enums
* Fix accented UI elements in set categories sheet being different colors
Co-authored-by: CrepeTF <trungnguyen02@outlookcom>
2022-06-26 10:01:31 -04:00
37fe25ac06
Fix manga info header using wrong text color ( fixes #7368 )
2022-06-26 10:01:11 -04:00
0e0c1dcdc5
MangaPresenter: Fix state updates when opening a new manga entry ( #7379 )
2022-06-26 09:45:06 -04:00
80d2d9d258
Avoid overflow in extension screen items ( fixes #6972 )
2022-06-25 22:41:22 -04:00
3ca1ce4636
Use primary color for excluded tristate filter icon ( fixes #7360 )
2022-06-25 22:34:48 -04:00
8ec91cddab
Minor cleanup
...
- Use outlined icons where appropriate to match previous UI
- Allow tapping entire ChapterHeader to bring up sheet
2022-06-25 11:20:34 -04:00
470a576441
Fix downloader crash related to UnmeteredSource ( #7365 )
...
Fix crash when starting a download with chaqpters from a UnmeteredSource
2022-06-25 11:09:41 -04:00
33a778873a
MangaController overhaul ( #7244 )
2022-06-25 11:03:48 -04:00
a77bce7b37
ChapterDownloadView: Convert to compose ( #7354 )
2022-06-24 15:42:30 -04:00
915e38f636
Fix crashes from KTX extension changes
2022-06-24 12:06:43 -04:00
e3b1053c03
Use sqldelight in migration ( #7331 )
...
* Use sqldelight in migration
* Some more changes
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
* Review Changes
* Review changes 2
* Review Changes 3
* Review Changes 4
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
2022-06-21 17:27:55 -04:00
c2520bff12
Utilize more KTX extensions ( #7348 )
2022-06-20 22:54:42 -04:00
cd5bcc3673
Fix accented UI elements in library sheet being different colors
2022-06-20 22:51:34 -04:00
254f021903
Minor cleanup
2022-06-20 22:51:04 -04:00
8fedd2d5f1
Convert cover dialog view to compose ( #7346 )
2022-06-20 22:31:36 -04:00
cb1830d747
More minor refactorings
...
Extracted from #7244
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com >
2022-06-19 17:32:31 -04:00
68c47a3238
Minor composable updates
...
Extracted from #7244
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com >
2022-06-19 17:17:48 -04:00
11f1482818
Add Composable preview for preferences
...
...except Android Studio refuses to actually render them.
2022-06-19 16:50:52 -04:00
a7decdb62d
Migrate some categories SQL calls to SQLDelight
2022-06-19 16:38:42 -04:00
005b9b595c
ChaptersSettingsSheet: Single source of truth and use new manga class ( #7342 )
...
Currently breaks initial settings state until the source of truth is
properly updated.
2022-06-19 12:29:49 -04:00
e6a9d0b090
Add fast scroller to extensions screen ( #7340 )
2022-06-19 10:33:25 -04:00
82879a129e
Make stub source icon part of SourceIcon
( #7337 )
...
* Make stub source icon part of `SourceIcon`
* Review Changes
2022-06-19 10:16:55 -04:00
9f66c85281
Migrate duplicate manga check to SQLDelight
...
Extracted from #7244
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com >
2022-06-19 10:15:24 -04:00
3fd9e021fa
Use custom QueryPagingSource ( #7321 )
...
* Use custom QueryPagingSource
- Adds placeholder to make the list jump around less
- Fixes issue where SQLDelight QueryPagingSource would throw IndexOutOfBounds
* Review Changes
2022-06-18 14:55:58 -04:00
28e7009b49
Convert edit cover function to suspend function ( #7330 )
2022-06-18 10:01:03 -04:00
dd983c803b
Delete unused database queries/resolvers
2022-06-17 22:35:21 -04:00
1b804e61cb
Fix cover fetching in compose views ( #7315 )
...
Make sure it passed thru the custom fetcher
2022-06-17 22:21:29 -04:00
c5d84b4f24
Fix History not being added when restoring backup ( #7324 )
2022-06-17 17:29:07 -04:00
ae88252cb1
MangaController: Change the workaround for title alpha ( #7277 )
...
Now checks for the backstack for any dialog controller when a push exit occurs
before restoring the title alpha.
2022-06-17 17:28:50 -04:00
3c3d787a2b
MainActivity: Fix incorrect UI states when activity recreated with dialog controller ( #7325 )
2022-06-17 17:28:07 -04:00
6aee4fc464
Fix freezing on migrating manga ( #7317 )
...
* Use `supend` instead of `runBlocking` in migrate function
* lift `syncChaptersWithSource` out of the db trasaction
2022-06-16 23:34:44 -04:00
4ef337f1e9
Don't set text colors when creating compose theme ( #7316 )
...
This avoids compose snackbar text color issue
2022-06-16 11:37:57 -04:00
017f6b22f0
Use SQLDelight on Category screen ( #7310 )
...
* Use SQLDelight on Category screen
* Include category name in DuplicateNameException
2022-06-16 10:59:10 -04:00
fdf384b809
Add Cancel button to App Update Notification ( #7309 )
...
* Add cancel button in app update download notif
Since stuck downloads are a common issue and only solution until now was
to force close the app or download and update the app manually by
downloading from GitHub (which clears the notif away)
Based on commit
4dea924337
Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com >
* Linting by Android Studio
* commit PR Review Suggestion
Update app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt
Co-authored-by: arkon <arkon@users.noreply.github.com >
* Use `launchIO`
copied this over from how j2k was doing it. Launching in IO Thread like
how it was before this PR is sufficient
* Clear previous actions before adding `Cancel`
Otherwise, it led to two identical Cancel buttons
Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com >
Co-authored-by: arkon <arkon@users.noreply.github.com >
2022-06-15 18:07:01 -04:00
284880d096
Fix WebView user-agent ( fixes #7306 )
...
The `source.headers.toMultimap()` call in WebViewActivity makes all the names lowercase.
2022-06-15 18:05:56 -04:00
a446b37c1f
Make Compose overflow menu feel slightly more like XML version
2022-06-15 18:02:08 -04:00
d2f4c43526
Minor cleanup
2022-06-14 22:31:39 -04:00
9d5b7de1d8
Maintain source info in the database. ( #6389 )
...
* Maintain Source Info in database
* Review changes and cleanups
* Review changes 2
* Review Changes 3
2022-06-14 09:10:40 -04:00
a01c370d63
Set db chapter metadata from correct chapter ( #7303 )
2022-06-14 09:09:21 -04:00
fd5da2de3a
Use SQLDelight in Backup/Restore ( #7295 )
...
* Use SQLDelight in Backup/Restore
* Use CoroutineWorker
2022-06-12 14:33:48 -04:00
693cc103ea
Add date_upload
to toDbChapter()
( #7297 )
2022-06-12 11:44:02 -04:00
5ccde61ae1
Minor cleanup
2022-06-12 11:29:48 -04:00
b96686e6ad
Fix chapter list live update ( #7296 )
2022-06-12 11:23:41 -04:00
e7695aef78
Fix Links to Changelog/Readme/Commits for multisrc
( #7252 )
...
* Fix Links to Changelog/Readme/Commits for `multisrc`
working basic fix. Needs to be refactored into `createUrl()`
* Refactor back into `createUrl`
hopefully the logic is understandable
there's three cases:
- when multisrc, if `path` isn't mentioned, then we're trying to open
commmit history
- when multisrc, if `path` is mentioned, then its either a changelog or
a readme to a multisrc extension, the files are stored in the
`overrides` subfolder
- when not multisrc, we're looking at a single source where the links
are constructed in the same way regardless of it being
changelog/readme/commit history
2022-06-12 10:24:39 -04:00
5bb78eb77f
Update manga metadata on library update with sqldelight
( #7293 )
...
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
2022-06-12 10:21:45 -04:00
5fbf454652
Update compose-theme-adapter
2022-06-12 09:59:55 -04:00
d098eca69d
Remove unused database resolvers/queries
2022-06-11 11:51:14 -04:00
120943a8b3
Make syncChaptersWithSource
use sqldelight ( #7263 )
...
* Make `syncChaptersWithSource` use sqldelight
Will break chapter list live update on current ui
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
* Review Changes
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
2022-06-11 11:38:39 -04:00
e15a867106
Convert clear database queries to SQLDelight
2022-06-10 21:33:56 -04:00
da8669c826
Actually compare chapter numbers as numbers when sorting ( fixes #7247 )
2022-06-10 09:49:50 -04:00