Commit graph

5342 commits

Author SHA1 Message Date
a25df1eef3
enhance(library): Show "category is empty" on filtered if the category is actually empty 2024-06-21 21:26:03 +07:00
25644af5cf
refactor(library): Turn getCategory to an extension method 2024-06-21 21:04:52 +07:00
5f61a3fe4a
refactor(library): Make variable allCategories private
So that it's easier for me to control stuff when I transform libraryItems into libraryMap
2024-06-21 20:44:15 +07:00
a4ec39a4f2
chore(library): Finish library rewrite (unused at the moment) 2024-06-21 20:28:24 +07:00
2416037615
chore(recents): Use flow to set refresh state 2024-06-21 18:52:54 +07:00
a2a0a7e79e
chore(recents): Use sql query to filter scanlators pt.2 2024-06-21 10:15:15 +07:00
7926590c22
chore(recents): Use sql query to filter scanlators 2024-06-21 09:25:43 +07:00
7341e10822
refactor: Rename chapter interactors to use singular instead of plural 2024-06-21 08:51:25 +07:00
9879004157
fix: Should probably also sync chapters filtered by scanlators, just in
case
2024-06-21 07:07:56 +07:00
af02f34167
fix: Key should be Category not Int 2024-06-20 11:31:54 +07:00
e36379bd6c
chore: Simplify some code and add some comments/todo 2024-06-20 11:22:27 +07:00
ff08e19880
refactor: Move file that supposed to be in common
Also rename launchNonCancellable to launchNonCancellableIO and change the comment in LibraryPresenter to be more accurate.
2024-06-20 09:45:46 +07:00
8cfe5a1182
refactor(library/flow): Don't unnecessarily map categories if library is not grouped 2024-06-20 09:21:30 +07:00
5799842c50
refactor: More library flow prep 2024-06-20 09:00:14 +07:00
c5a009f419
refactor: Prepare filter preference flow 2024-06-20 08:49:59 +07:00
8922b5ecbf
chore: Use non cancelable for some functions 2024-06-20 07:46:56 +07:00
50d6f7293d
revert: Revert get library manga with flow 2024-06-19 17:14:30 +07:00
6a2704ff11
revert: Partially revert "refactor: Attempt 2 on getting library manga
using flow"

It updates on "mark as read" from library, but didn't respond to changes
outside of library page. It probably easier if I move the variable to
ViewModel...
2024-06-19 16:52:30 +07:00
7b765a5fc2
refactor: Attempt 2 on getting library manga using flow 2024-06-19 16:36:35 +07:00
535fcc81dd
chore: Prepare find duplicate query 2024-06-19 15:24:11 +07:00
395f10c8a9
refactor: Migrated getMangas to SQLDelight 2024-06-19 15:14:14 +07:00
f6080cd5eb
refactor: Migrated most manga queries and some chapter queries to SQLDelight 2024-06-19 11:12:37 +07:00
5ed2934b73
chore: More storio to sqldelight migration
- insert manga
- update manga
2024-06-19 08:53:58 +07:00
28e551de36
chore: Private repo val 2024-06-18 21:12:52 +07:00
893af9bd73
chore: Rewriting getLibrary func 2024-06-18 21:12:01 +07:00
de48b52ec3
chore: More domain module Manga prep 2024-06-18 19:56:37 +07:00
f94e69cdf8
chore(data): Move database adapters to yokai namespace 2024-06-18 19:28:18 +07:00
ebd3213c3d
chore(deps): Move some dependency to common 2024-06-18 19:26:49 +07:00
8b7ca91b12
chore(sql): Rename to match the table name 2024-06-18 19:03:42 +07:00
1cced95526
chore(deps): Update unifile 2024-06-18 18:53:46 +07:00
63d27bcf60
docs: Sync changelog 2024-06-18 11:33:17 +07:00
18953f901c
revert: Revert "refactor(library): Use flow to update libraryManga"
This reverts commit 8e32b6b74e.
2024-06-18 11:17:54 +07:00
8e32b6b74e
refactor(library): Use flow to update libraryManga 2024-06-18 11:14:56 +07:00
akir45
4a9dceaef2
chore(i18n): Update Japanese translation 2024-06-18 11:14:16 +07:00
334fbe4631
chore: Preparing Manga data class 2024-06-17 19:55:43 +07:00
8f07c2d99a
fix: Just wrap it with if statement
The last fix somehow reverted the other fix, awesome!
2024-06-17 19:46:36 +07:00
d5651573b0
chore(deps): Remove some deps that already covered by core module 2024-06-17 19:28:24 +07:00
25d32d4f6f
fix: Description not updating 2024-06-17 19:19:08 +07:00
fc171c1e0a
refactor: Move database related stuff to data module 2024-06-17 16:15:20 +07:00
66354205f1
chore(presentation/widget): Use SecurityPreferences 2024-06-17 15:09:19 +07:00
5b6378eeba
fix: Thumbnail URL did not update
Forgot to move this out of the if check

Fixes GH-102
2024-06-17 14:52:34 +07:00
b43fccacd7
refactor: Split security preferences from PreferencesHelper 2024-06-17 14:19:53 +07:00
48d542f5a6
fix: Missing message for Deprecated 2024-06-17 13:33:55 +07:00
c36a6b4afb
chore: Solve some compile warnings 2024-06-17 13:22:46 +07:00
4a9a7813e0
chore: Some more effort moving widget to its own module 2024-06-17 13:21:27 +07:00
79b5494307
docs: Sync changelog [skip ci] 2024-06-17 10:46:02 +07:00
8d9e5813a0
refactor: Use SQL to get lastRead and lastFetch instead
Following Android's SQLite best practice, nesting sql instead of nesting functions.
2024-06-17 10:12:58 +07:00
1ddc488b17
chore: Prepare domain module 2024-06-17 09:41:12 +07:00
9e99a86739
chore(SQL): Prepare some queries 2024-06-17 09:37:39 +07:00
ee433e2d82
fix: Keep transition pages on split 2024-06-16 19:44:45 +07:00