Commit graph

5174 commits

Author SHA1 Message Date
4f9ee5dade
refactor(WebView): Simplify code 2024-08-07 12:22:07 +07:00
1ce2663dfa
refactor(PagerPageHolder): Split mergeOrSplitPages code into several functions 2024-08-07 11:14:41 +07:00
arkon
f0a761ad47
fix: Fixed tap controls not working when zoomed in
Co-authored-by: Paloys <Paloys@users.noreply.github.com>
2024-08-06 13:01:59 +07:00
FooIbar
938489d0e0
fix(reader/webtoon): Fix tap control area shifting after zooming out 2024-08-06 12:55:14 +07:00
FooIbar
33e22b8aee
fix(reader/webtoon): Fix recycled item's height being 0 in webtoon mode
Which will prevent the new image from being decoded until it's visible.
2024-08-06 12:51:45 +07:00
97bd9c4bc8
fix(worker): Add delay to tryToSetForeground function
> The system will crash the app if the worker that calls setForeground() finished
> before the service runner be able to call Service.startForeground(). This edge
> case is not handled by WorkManager and there is no way to check if the required
> calls are done.

The delay duration is a magic number where we assume by then the
transition to foreground service is done.

Seems to be an issue introduced in Android 8, and Google refuses to fix
it, as usual.

REF: https://developer.android.com/about/versions/oreo/background.html#services (Last paragraph of the section)
REF: https://issuetracker.google.com/issues/76112072#comment36 (Status is set to Won't Fix)

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2024-08-06 07:08:03 +07:00
a3dd231e00
fix: Handle compatibility issue with J2K backup file
Fixes GH-135
2024-08-05 20:58:24 +07:00
d7f6f78b6c
fix: Missing monochrome icon for _round 2024-08-05 19:46:22 +07:00
062ed0997a
feat: Add monochrome icon
Experimental, might be too small, might be too big

Fixes GH-82
2024-08-05 19:36:00 +07:00
38a9153240
chore: Re-added some links 2024-08-05 12:56:28 +07:00
FooIbar
8195fe56fd
chore(reader/webtoon): Match extra layout space with scroll distance
Also increase recycler item view cache size
2024-08-05 12:32:32 +07:00
6a02e7f0a0
chore(reader): That's not supposed to be there [skip ci] 2024-08-05 12:25:14 +07:00
e7e5b07605
refactor(reader): Handle background from ReaderActivity
Also allow long strip and continuous vertical background colour to be changed

Fixes GH-98
2024-08-05 12:21:03 +07:00
75d73cf604
refactor(WebtoonPageHolder): Move stuff around 2024-08-05 09:56:45 +07:00
9d16172095
refactor(WebtoonRecyclerView): Redundant qualifier name 2024-08-05 09:49:48 +07:00
28a8a675ad
refactor(WebtoonPageHolder): Remove unnecessary functions 2024-08-05 09:46:57 +07:00
4789a1652a
refactor(WebtoonPageHolder): Adjust how margin is set 2024-08-05 09:40:23 +07:00
092ebf84f6
chore: Disable image split for animated images
It's duplicating instead of splitting
2024-08-05 09:27:42 +07:00
AntsyLich
d0a99ca8d9
chore: Make categories backup independent 2024-08-04 12:56:15 +07:00
8c409ff306
chore: Allow user to edit local manga without adding it to their library 2024-08-03 22:22:47 +07:00
951773053b
feat(backup): Add information on when was the last time backup automatically created 2024-08-03 22:12:43 +07:00
6d60177a09
refactor: Split backup related preferences to its own class
Also increased default number of backups to 5
2024-08-03 22:02:25 +07:00
0f9ff92f89
chore: Add missing "Max automatic backups" option 2024-08-03 21:51:49 +07:00
ad3bb53519
fix(backup/creator): Backup should be created after backup file path is validated 2024-08-03 21:34:12 +07:00
24784d6e78
fix(backup): Allow creating backup without entries 2024-08-03 21:29:36 +07:00
19e87040f6
refactor(backup/creator): Make backup functions into operator function 2024-08-03 21:27:24 +07:00
2a073f6154
refactor(backup/creator): Source backup creator should depends on BackupManga
This eliminates the need to check libraryEntries backup option twice
2024-08-03 21:24:15 +07:00
66ee8fb0cd
refactor(backup/creator): Reformat code 2024-08-03 21:18:38 +07:00
9c435891f6
chore: Re-enable reading mode detection for LTR
But now it's only triggered if it's comic, since manhua is now mixed of
webtoon format and comic format.
2024-08-02 10:24:31 +07:00
4a8cf8d24d
refactor: Simplify beta version format 2024-08-02 07:05:40 +07:00
99769e4c6e
fix: Don't show nightly version format on beta 2024-08-01 10:55:37 +07:00
d82c029fd5
chore(deps): Remove nucleus dependency
Jay removed Nucleus since 1.6.4, not sure why it's still listed on the deps
2024-08-01 08:29:25 +07:00
fd47319064
refactor: Remove google guava dependency 2024-08-01 08:06:55 +07:00
6c05cbd41a
chore: Remove FIXME comment [skip ci]
Fixed after using Voyager as navigation
2024-08-01 07:47:36 +07:00
3fa755117f
refactor: Keep some library manga variables as Long 2024-08-01 07:19:04 +07:00
2e1faefa97
refactor: Start using Voyager for navigation 2024-08-01 07:14:14 +07:00
563a3a0289
refactor: Don't use statusBarsPadding
The documentation says these AppBars automatically handles them
2024-07-31 13:12:48 +07:00
f64bdb2ca5
refactor: Replace java-string-similarity with pure Kotlin Levenshtein implementation 2024-07-31 12:20:40 +07:00
8cca5186dd
chore: Disable padding 2024-07-31 11:42:24 +07:00
41c565ca9f
chore: Disable LTR/Comic/Manhua auto detection
Causing too many confusion (GH-125)
2024-07-31 11:22:49 +07:00
d9f4536725
chore: Bump versionCode for beta 2024-07-31 10:50:34 +07:00
c95c364c0c
fix(about/license): Use Bundle 2024-07-31 10:28:14 +07:00
6c93deacca
refactor: Use AboutLibraries
Should unblock GH-124 from being merged, no thanks to Google.
2024-07-31 10:01:38 +07:00
fa1f780b47
refactor(source/local): Invalidate before getting other manga details
Reduce code duplication and also covers local manga without metadata file
2024-07-31 07:53:32 +07:00
df8eeb8e88
chore: Preparing to move ComicInfo to core module 2024-07-31 07:44:59 +07:00
bf7ece49d9
fix: Check hotfix before checking stage weight 2024-07-30 10:31:01 +07:00
bc51e60bb3
docs: Fix comment [skip ci]
No idea why I type still instead of this, brain not braining sometimes
2024-07-30 10:25:21 +07:00
87d44b1a5a
chore: Check hotfix before build number
Since build number only matters if it's an unstable release
2024-07-30 10:21:08 +07:00
4a386adc62
fix: Check hotfix last 2024-07-30 10:16:55 +07:00
11fa491a6b
test(AppUpdateCheckerTest): Add more test cases 2024-07-30 10:09:39 +07:00