arkon
3749cee28f
Add Assistant content URLs
...
This is surfaced in recents on Pixel devices for example.
Docs: https://developer.android.com/guide/app-actions/assistant-sharing
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com >
2022-12-10 12:08:39 -05:00
Ivan Iskandar
82a3a98a5a
Adjust screen transitions ( #8707 )
...
* Fade transition between main navigation tabs
* Shared axis X between screen stacks
Activity transition is using a "close enough" shared axis X xml animation
2022-12-09 17:23:00 -05:00
arkon
f8e4153dbf
Disable Jetifier
2022-12-07 23:06:25 -05:00
Ivan Iskandar
f7a92cf6ac
Replace reader's Presenter with ViewModel ( #8698 )
...
includes:
* Use coroutines in more places
* Use domain Manga data class and effectively changing the state system
* Replace deprecated onBackPress method
Co-authored-by: arkon <arkon@users.noreply.github.com >
2022-12-07 23:00:01 -05:00
Two-Ai
6ca32710be
Cleanup Page status ( #8696 )
...
* Cleanup Page statusSubject and statusCallback
* Convert Page status from Int to enum
2022-12-07 18:28:38 -05:00
arkon
99a717f849
Hide webtoon reader scrollbars
...
Fixes #8676
2022-12-04 18:09:37 -05:00
arkon
696dc59ea5
More domain model migrations
2022-12-03 22:54:18 -05:00
arkon
beda99bbe0
Replace RxJava in ReaderChapter and reader transitions
2022-12-02 23:36:33 -05:00
arkon
bb1e7816e1
Replace some usages of RxJava in reader
2022-12-02 23:11:42 -05:00
Ivan Iskandar
3d66eaea83
Merge Voyager screens ( #8656 )
...
* Merge Voyager screens
* cleanups
2022-12-02 22:35:30 -05:00
arkon
5313a5d5d2
Remove unnecessary base Nucleus classes
...
The reader still uses it, but we just move stuff to there.
2022-12-02 13:23:26 -05:00
AntsyLich
ba91b483a0
Delayed Tracking Update related fix ( #8642 )
...
* Delayed Tracking Update related fix
* Lint
2022-12-01 23:01:24 -05:00
arkon
3480b45098
Minor cleanup
2022-11-27 17:12:45 -05:00
arkon
4f2a794fba
Remove dead code
2022-11-27 15:09:37 -05:00
arkon
7e74949d38
Explicitly add READ_APP_SPECIFIC_LOCALES permission
...
Some devices are throwing a SecurityException (calling getApplicationLocales) for some reason.
2022-11-25 23:03:42 -05:00
arkon
2c850d0e33
Fix invert tapping dropdown not updating checked state in reader
...
Fixes #8566
Should ideally just Compose-ify it all some day.
2022-11-20 15:12:51 -05:00
AntsyLich
ba2a528886
Fix related to cancelling queued chapters ( #8528 )
...
Tachi removes the downloaded chapter (if it exists) when you just cancelled a download from queue.
PR fixes that
Also removes redundant return
2022-11-18 22:27:39 -05:00
arkon
c6c4c1c393
Migrate to more domain model usages
2022-11-10 22:42:44 -05:00
arkon
8749be518f
Adjust read next history logic
...
Closes #8454
2022-11-05 10:37:32 -04:00
arkon
642b392d44
Fix crash in ReaderReadingModeSettings when reverse portrait orientation is set
2022-10-30 23:10:59 -04:00
arkon
fc184f1cfa
Clean up download ahead logic
...
- Remove redundant chapter sorting logic when fetching next chapter(s)
- Remove redundant download queue checks (it'll handle already queued or downloaded items)
- Trigger download ahead when read >= 25% of chapter rather than 20%
- Rely on download cache when checking if next chapter is downloaded to avoid jank (fixes #8328 )
2022-10-30 16:59:33 -04:00
stevenyomi
4b60138d41
Clean up strings and icons ( #8326 )
...
* Clean up strings and icons
* fix incorrect usages of label_more
* restore strings and reduce usage of android.R
* removing icon desc of FABs anyway as app's not for visual impaired users
2022-10-29 11:43:51 -04:00
d-najd
37b7efbc87
WebView for chapter link ( #8281 )
...
* backup
* doing logic
* cleanup
* applying suggestion
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com >
* requested changes
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com >
2022-10-28 11:41:51 -04:00
arkon
6e04822f5e
Only enable ACRA crash logging in preview and stable release builds
2022-10-22 15:47:09 -04:00
arkon
7e40680af0
Perform download cache renewal async
...
Don't block on cache renewals, but notify library on updates so that the badges show up when ready.
We skip the cache when checking if a chapter is downloaded for the reader assuming that it's a
relatively low cost to check for a single chapter.
(Probably) fixes #8254 / fixes #7847
2022-10-21 15:00:41 -04:00
arkon
b04807e53a
Proper DI instantiation for some more download related classes
2022-10-21 14:29:44 -04:00
AntsyLich
44cabf2f0b
Hide reader "Split tall images" option in release build ( #8235 )
2022-10-20 22:41:42 -04:00
arkon
caf9219d99
Reword some reader settings
2022-10-05 09:26:42 -04:00
AntsyLich
00f442b77e
Don't download completely read chapter if it was in queue ( #8113 )
2022-10-01 10:58:13 -04:00
AntsyLich
ad84a8c3e9
Improve DelayedTrackerStore ( #8109 )
...
* Improve DelayedTrackerStore
* Review changes
2022-09-29 09:20:07 -04:00
Andreas
29fa93e829
Split the rest of the preferences in PreferencesHelper ( #8074 )
...
* Split the reset of the preferences in PreferencesHelper
* Capitalize ThemeMode
2022-09-25 10:07:06 -04:00
Andreas
b5dca2eb09
Move chapter preferences from PreferencesHelper to LibraryPrefrences ( #8061 )
2022-09-24 10:14:16 -04:00
Andreas
acb8ab15b2
Recreate reader settings when opening sheet ( #8054 )
2022-09-22 22:29:15 -04:00
Andreas
e82963c9ef
Split download preferences from PreferencesHelper ( #8048 )
2022-09-21 17:45:07 -04:00
Andreas
e568951396
Split track preferences from PreferencesHelper ( #8046 )
2022-09-21 09:18:53 -04:00
Andreas
e275897bf9
Split reader preferences from PreferencesHelper ( #8042 )
2022-09-20 08:36:57 -04:00
arkon
0225711f6f
Clean up base classes
...
Should be able to throw away some of the search controller stuff after Global Search is migrated
2022-09-18 17:22:54 -04:00
Andreas
0086743a53
Use 1.x preference abstraction ( #8020 )
...
* Use 1.x preference abstraction
- Uses SharedPreferences compared to 1.x impl which uses DataStore but it breaks all settings screens currently
- Move PreferencesHelper to new PreferenceStore
- PreferencesHelper should be split into smaller preference stores and be in core or domain
- Remove flow preferences as new PreferenceStore handles changes for us
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com >
* Fix PreferenceMutableState not updating
* Fix changes not emitting on first subscription
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com >
2022-09-17 11:48:24 -04:00
Ansh
30ac94181b
Fix stacking of Settings menu in the reader on multiple taps ( #8002 )
...
* fix : conditional check added to avoid stacking of dialog
In onClickListener, bottom sheet is being opened depending on status of dialog sheet, if it's showing or not.
* chore : refactored conditional logic
* Update ReaderActivity.kt
2022-09-15 17:41:54 -04:00
arkon
cd3cb72b65
Bump dependencies + linting
2022-09-10 23:57:03 -04:00
AntsyLich
56826fb477
Cleanup logic of onStripSplit in WebtoonPageHolder 2 ( #7976 )
2022-09-10 09:34:27 -04:00
nzoba
07d1b9f3ba
Fix download ahead missing out 1 chapter ( #7927 )
...
* Fix download ahead missing out 1 chapter
* Move toLong() function
* Add check whether the next chapter is queued
2022-09-09 22:29:24 -04:00
AntsyLich
6b91f65457
Cleanup logic of onStripSplit in WebtoonPageHolder ( #7955 )
...
* Cleanup logic of `onStripSplit` in WebtoonPageHolder
* Update app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
Co-authored-by: arkon <arkon@users.noreply.github.com >
2022-09-07 17:11:44 -04:00
AntsyLich
d55c854ebf
Webtoon Split: Improve performance ( #7947 )
2022-09-04 11:16:20 -04:00
AntsyLich
da95ecb686
Lessen the use of GlobalScope launchIO ( #7916 )
...
* Lessen the use of GlobalScope `launchIO`
* Wrap some calls with `NonCancellable` context
2022-09-02 11:50:44 -04:00
arkon
8ef200861c
Fix webtoon viewer pages not loading
...
Partial revert of fddca15182
2022-09-02 10:02:04 -04:00
AntsyLich
fddca15182
Don't update page progress and allow preload when on StencilPage ( #7899 )
...
Also cleanup a little in WebtoonPageHolder
2022-08-31 15:09:21 -04:00
arkon
8efb20439a
Remove some usages of global scope
2022-08-29 15:15:18 -04:00
AntsyLich
b79340989f
Fix IndexOutOfBoundsException when using Split tall images ( #7892 )
...
Also little cleanup
2022-08-29 13:02:34 -04:00
AntsyLich
88b56121a3
Long Strip Split for Webtoon ( #5759 )
...
* Long Strip Split for Webtoon
* Review Changes
* Review Changes 2 + Rebase
2022-08-27 11:41:18 -04:00