arkon
54471a014f
Get index of selected update list item based on chapterId
...
Fixes #8442
2022-11-05 11:56:08 -04:00
arkon
8749be518f
Adjust read next history logic
...
Closes #8454
2022-11-05 10:37:32 -04:00
Luqman
34aa4eb291
Add back haptic feedback long tap to fav ( #8418 )
...
* Add back haptic feedback long tap to fav
- add back haptic when long tap on manga to add to library
* simplify
* Revert "simplify"
This reverts commit f4bd57315a3dbf35f5975233980304fa66807718.
* Revert "Add back haptic feedback long tap to fav"
This reverts commit 81486e30e9adf6a7e983b5e3f12bd5bc34083db1.
* cleanup
2022-11-04 22:52:28 -04:00
arkon
280b0f42db
Toggle enabled source in bulk
...
Maybe fixes #8439
2022-11-04 09:39:23 -04:00
AntsyLich
afcf4b2988
Fix resetting filter resets browse pager ( #8394 )
...
Fix resetinf filter resets browse pager
2022-10-31 17:22:53 -04:00
arkon
642b392d44
Fix crash in ReaderReadingModeSettings when reverse portrait orientation is set
2022-10-30 23:10:59 -04:00
arkon
33e90d6449
Clean up library download chapters logic
...
We can probably clean up the same logic in the manga controller at some point too, but that stuff's messy.
Also fixes the spacing issue that the new icon introduced.
2022-10-30 22:56:07 -04:00
Swords
50b17d5d34
Add different download options within the Library ( #8267 )
...
* feat: add download options to library
* feat: use max instead of min
* feat: remove download all option
* feat: applied requested changes + rename some functions
* feat: merge downloadAllUnreadChapters and downloadUnreadChapters into one function
* Apply suggestions from code review
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
* feat: apply lint suggestions + fix code
feat: apply lint suggestions + fix code
* feat: revert onClickDownload back to onDownloadClicked
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2022-10-30 22:27:48 -04:00
arkon
5d1f79012e
Fix some crashes
...
- Delay the initial emission of updates/sources/extensions lists instead of using a state flow. This hopefully avoids rapid initial recompositions that cause the LazyColumn key duplication crashes. (Closes #8371 )
- Fix a NPE in BrowseSourcePresenter
2022-10-30 18:43:16 -04:00
arkon
cac80daa71
Set source properly when creating manga entries
...
Fixes #8333
2022-10-30 17:40:17 -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
arkon
725fcbba0e
Add warning about F-Droid build support in More screen
2022-10-30 16:00:19 -04:00
stevenyomi
a078f1ab1b
Refactor search toolbar and fix browse source ( #8360 )
2022-10-30 13:34:47 -04:00
arkon
dd1923fe88
Remove redundant preference composables
2022-10-30 11:37:02 -04:00
arkon
df773ee15c
Refactor overflow menus into a composable
2022-10-30 11:06:41 -04:00
zbue
f5451a6881
Add ability to open random manga ( #8232 )
...
* Add ability to open random manga
* Use `getMangaForCategory` instead
* Put it in overflow menu instead of using EFAB
* Partial review changes
* Merge remote-tracking branch 'refs/remotes/origin/patch-6' into patch-6
# Conflicts:
# app/src/main/java/eu/kanade/presentation/library/LibraryScreen.kt
* Merge remote-tracking branch 'refs/remotes/origin/patch-6' into patch-6
# Conflicts:
# app/src/main/java/eu/kanade/presentation/library/LibraryScreen.kt
* Wording changes
2022-10-30 10:57:33 -04:00
arkon
0849111247
Use remember var delegates in more places
2022-10-29 16:14:49 -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
arkon
224f29077d
Sort library items alphabetically in secondary pass
...
Fixes #7461
2022-10-29 10:11:12 -04:00
arkon
ad107860b9
Consider downloaded only mode when getting download counts in library
...
Fixes #8318
2022-10-28 21:29:25 -04:00
arkon
5efb31bd71
Fix some crashes
2022-10-28 21:10:03 -04:00
arkon
e4a2f35907
Fix library download counts not being loaded if downloaded filter is in exclusion state
2022-10-28 19:05:55 -04:00
AntsyLich
e36d31bf0f
Cleanup Library presenter ( #8284 )
...
* yeet observable + minor cleanup
* move [getTracksFlow] to domain
* Lint
* Review changes
Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>
* Review Changes 2
* Stuff
* Rename + Rebase
* Lint
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
2022-10-28 11:44:05 -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
c50b1a5c66
Alternate method of avoiding LazyColumn key conflict crashes
...
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com>
2022-10-27 23:26:34 -04:00
arkon
ccc4144f3c
Remove side nav icon alignment preference
...
Simplifying it to just always be centered, which is what most Google apps seem to be doing anyway.
2022-10-27 17:30:12 -04:00
arkon
d5b4bb49b1
Refactor network to local manga logic
...
Maybe fixes #8289
2022-10-26 23:01:21 -04:00
AntsyLich
2cbe946e7e
Rework library selection ( #8290 )
2022-10-26 09:22:12 -04:00
Ivan Iskandar
82b552ac9a
MangaPresenter: Filter unsupported track service from available service list ( #8286 )
2022-10-25 09:34:05 -04:00
arkon
9792a6cb78
Fetch download counts if library is filtered by downloaded
...
Fixes #8277
2022-10-23 10:15:05 -04:00
arkon
5c868d7846
Use kotlin.time extensions in some more places
2022-10-22 19:57:55 -04:00
arkon
6e04822f5e
Only enable ACRA crash logging in preview and stable release builds
2022-10-22 15:47:09 -04:00
stevenyomi
2ab744c525
Fix app lock and make delay not survive app being killed ( #8272 )
...
* Fix app lock
* Always require unlock if app is killed
2022-10-22 15:07:44 -04:00
AntsyLich
4a244a598b
Cleanup UpdatesPresenter deleteChapters
( #8273 )
2022-10-22 12:58:14 -04:00
arkon
d0bff298b7
Remove fake chapter deletion state updates
...
Now that the updates and manga screen listen to download cache changes, it'll reflect the real states once deleted.
2022-10-22 12:24:59 -04:00
arkon
152eb5b951
Handle async cache in updates and manga screens
...
- Also fix concurrent accesses to main cache map
- Also debounce sources and updates list updates to maybe avoid crashing due to dupe LazyColumn keys
2022-10-22 10:50:44 -04:00
stevenyomi
d558f9e1d6
Tweak tablet UI mode setting ( #8262 )
2022-10-22 10:15:12 -04:00
AntsyLich
b3557e844c
Fix "Add manga to library" snackbar not showing with ChapterDownloadAction.START_NOW ( #8271 )
2022-10-22 10:12:06 -04:00
arkon
4138a17e29
Maybe avoid extensions list rendering crashes
2022-10-21 22:50:33 -04:00
arkon
2921be620a
Use fade transition in Voyager screens to mimic existing Conductor change handler
2022-10-21 15:29:17 -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
93925a7286
Remove redundancy in ExtensionManager
2022-10-21 14:42:21 -04:00
arkon
b04807e53a
Proper DI instantiation for some more download related classes
2022-10-21 14:29:44 -04:00
arkon
93827aba34
Defer library download counts if not needed
2022-10-20 23:20:32 -04:00
AntsyLich
44cabf2f0b
Hide reader "Split tall images" option in release build ( #8235 )
2022-10-20 22:41:42 -04:00
stevenyomi
824d5e22bc
Clean up strings and resources ( #8253 )
...
* Clean up strings and resources
* fix pringle's typo
* restore catching file pick errors
* add back file chooser title
* revert #7740 and remove try-catch of chooser-wrapped intent
* swap xmlns lines
* swap xml tools lines
2022-10-20 17:48:13 -04:00
Andreas
8d97b980e3
Tweak library view ( #8240 )
...
- Move category join to improve performance
- Move bookmark calculation into query
- Move unread calculation into domain
2022-10-18 16:33:26 -04:00
Ivan Iskandar
f5bde3726a
More settings stuff ( #8226 )
...
* title size
* move about screen to settings
keeping shortcut inside more screen
* more
* shrink texts
* scrollable create backup dialog choices
* search back button
* cleanups
* delay changes that require activity recreate
* lessen horizontal padding
2022-10-18 09:35:10 -04:00
AntsyLich
ea092fa175
Fix selection in library ( #8233 )
2022-10-18 09:32:34 -04:00
AntsyLich
d6cbff2837
Tweak library query ( #8214 )
...
* Tweak library query
Co-Authored-By: Quang Kieu <kieuq@wit.edu>
* Update app/src/main/sqldelight/migrations/21.sqm
* Update app/src/main/java/eu/kanade/domain/library/model/LibraryManga.kt
* Update app/src/main/sqldelight/view/libraryView.sq
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Update app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Bump version
Co-authored-by: Quang Kieu <kieuq@wit.edu>
2022-10-16 15:33:12 -04:00