Commit Graph

432 Commits

Author SHA1 Message Date
arkon 8882cd4787 Consider sort direction when resuming (fixes #4909) 2021-04-21 17:38:46 -04:00
arkon cab919d74c Clean up controller viewbinding creation
Based on https://github.com/Jays2Kings/tachiyomiJ2K/blob/master/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/BaseController.kt
2021-04-18 12:54:51 -04:00
arkon ad9bad3d17 Adjust ActionToolbar positioning
Have I ever mentioned that I hate insets?
2021-04-17 13:07:25 -04:00
arkon f7cc36f2f0 Follow chapter sort setting for start/resume FAB (closes #1716) 2021-04-17 11:38:08 -04:00
arkon 6dbc0a6fd5 Use DSL for creating chapter description spanned string 2021-04-17 11:06:30 -04:00
arkon fba3f9d501 Follow chapter sort setting when downloading next n chapters (closes #4725) 2021-04-17 10:51:38 -04:00
arkon 1f8c5b0120 Adjust ActionToolbar positioning 2021-04-16 22:26:41 -04:00
arkon c7f839ea4a Minor cleanup 2021-04-15 10:09:16 -04:00
arkon 155a4dd463 Fix ActionToolbar bottom offset 2021-04-12 12:42:07 -04:00
Ivan Iskandar f3660d88dd Draw edge-to-edge (#4802) 2021-04-10 09:38:55 -04:00
arkon f7a6cbe5e2 Revert "Drop support for Android 5.x"
This reverts commit 443024cebb. Guess I'll do this a bit later so scb can get another major update first.

April Fools or whatever.
2021-03-31 22:20:59 -04:00
arkon 443024cebb Drop support for Android 5.x
It's 5-6 years old, and only accounts for 2% of users in the Firebase analytics.
2021-03-30 23:15:17 -04:00
arkon e0b7698d40 Merge reader settings and color filter sheets
Heavily influenced by https://github.com/Jays2Kings/tachiyomiJ2K/commit/fe2543b9d5da176b1dbb95058d1bfc54400fd47a#diff-8f47d7b7b53769ac18c28fe9978140c6bef44709879567acab2c6ef3270cd3a8
2021-03-25 23:10:22 -04:00
arkon a01792ac9a Maybe make opening file picker for choosing backup file more reliable 2021-03-25 13:56:39 -04:00
arkon 99ba84c810 Handle null Anilist start dates (fixes #4685) 2021-03-20 16:36:31 -04:00
arkon d912a42249 Fix chapters list getting updated from wrong thread (fixes #4505) 2021-03-20 15:35:02 -04:00
arkon 61e5440b7c Avoid crash when device fails to handle opening a URL 2021-02-12 17:02:37 -05:00
arkon 2e2663bad9 Avoid crash if activity is already dead 2021-02-12 16:55:14 -05:00
arkon 7a373fb43a Minor download icon optimizations 2021-02-12 12:27:40 -05:00
arkon 291168f4de Remove unnecessary LayoutContainer implementations 2021-02-08 17:45:42 -05:00
arkon 348c1ff29d Avoid some unnecessary re-renderings of download icons 2021-02-06 23:25:39 -05:00
arkon 717e55497f Fix downloads getting deleted when marked as unread 2021-02-06 22:48:06 -05:00
arkon 7191552126 Avoid crash when changing spinner indeterminate state 2021-02-05 23:13:57 -05:00
arkon d5cfbef42b Minor cleanup 2021-01-31 14:46:35 -05:00
Andreas 535abcbb8b Move tracking to a bottom sheet (#4364)
* Move tracking to a bottom sheet

* Give methods better names and remove unnecessary annotation
2021-01-31 14:43:43 -05:00
arkon 7eef4f7fbf Apply bottom sheet dialog with restriction consistently 2021-01-28 09:10:15 -05:00
arkon 16be469ecb Surface tracking search errors properly 2021-01-22 22:47:01 -05:00
Clarence Castillo 496a476c13 Fix multi-select phantom anchor bug in manga chapters and library (#4201)
* Fix phantom anchor bug in manga chapters list when multi-selecting

* Fix phantom bug when long pressing selected items not at top of stack

* Fix phantom anchor bug in library page
2021-01-22 17:35:51 -05:00
arkon 0cd551d4fd Revert removal of tracker start/end date 2021-01-16 15:48:20 -05:00
arkon f85194ec46 Handle download cancelation from icon properly (fixes #4241) 2021-01-16 15:48:02 -05:00
arkon 9670863a41 Show error when trying to download chapters from not installed source (closes #4283) 2021-01-10 11:11:53 -05:00
arkon c9cf9cfff0 More coroutine tweaks 2021-01-10 11:01:10 -05:00
arkon 2ffbee3db2 Avoid using global scope where appropriate
Also fixes the crash in tracking when an exception is thrown during a refresh.
2021-01-08 18:05:51 -05:00
arkon 6fb7a85e8a Address more coroutine scope leaks 2021-01-07 18:15:57 -05:00
inorichi 36f81b4a62 Minor fixes regarding leaks 2021-01-07 15:19:00 +01:00
arkon 2caecc01b2 Fix crash when no chapters can't be loaded 2021-01-06 14:21:55 -05:00
arkon 2c9f8bb9ce Revert bad RxJava conversion that prevented tracking data to be updated in UI 2021-01-04 16:25:19 -05:00
arkon ac9bf1f3ff Refactor bridged RxJava/coroutine calls in MangaPresenter 2021-01-04 14:55:28 -05:00
arkon 7eb0868791 Remove use of RxJava from TrackPresenter 2021-01-04 14:47:23 -05:00
arkon 7d713b87b1 Fully remove usages of RxJava from tracker classes
TODO: refactor usages to coroutines as well
2021-01-03 23:41:36 -05:00
arkon 2d0a5eb02c Convert more TrackService methods to coroutines 2021-01-03 23:33:21 -05:00
arkon 54dc01253d Replace usages of fetchChapterList with 1.x getChapterList API 2021-01-01 19:19:11 -05:00
arkon 4db9a90da2 Replace usages of fetchMangaDetails with 1.x getMangaDetails API 2021-01-01 19:08:12 -05:00
arkon b7914909d0 Remove some unnecessary coroutine dispatcher switching 2020-12-31 18:37:43 -05:00
arkon 63398fe491 Implement click events for chapter download icons 2020-12-31 18:14:51 -05:00
arkon bf32bf28da Use coroutines instead of rx for some MangaPresenter operations 2020-12-31 17:45:59 -05:00
arkon dcb6bfb18d Remove some unused variables 2020-12-31 16:41:09 -05:00
arkon cef1c4b8a1 Tweak manga info header backdrop 2020-12-27 17:58:03 -05:00
arkon 0e2b8b10d1 Show download progress in download icons 2020-12-27 16:50:25 -05:00
arkon 3cb64669e4 Animate download icon 2020-12-27 16:41:28 -05:00