Commit Graph

423 Commits

Author SHA1 Message Date
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
arkon 23bf7faf9f Hide chapter download icons for local manga 2020-12-27 15:25:40 -05:00
arkon 01ff3af63f Add error state to chapter download icons 2020-12-27 10:44:08 -05:00
arkon 84ae61f72c Refactor download states into enum 2020-12-27 10:20:14 -05:00
arkon 6dd280205b Initial chapter download icon implementation 2020-12-27 10:13:13 -05:00
arkon ea33179a95 Convert tracker add/update/login methods to coroutines 2020-12-24 17:50:28 -05:00
arkon 6e7fefb8b2 Strip out no longer used tracker start/end date code
Unfortunately MAL was the only one that supported it in the app, but the official API doesn't support it, so now no trackers have it.
2020-12-18 23:31:28 -05:00
arkon fd2028557e Some crash fixes 2020-12-13 11:00:46 -05:00
Taco c2b8fea291 Update libraries, some lints (#4099)
* Update some plugins

* Fix some miscellaneous lints
2020-12-08 22:21:08 -05:00
arkon e048d66f74 Revert edge to edge
This was a bigger headache than it was worth. To note, phone landscape wasn't considered, so the navbar overlaps the content on the side. Additionally, the ability to programatically control the navbar scrim is missing, so it'd have to manually be added.
2020-11-29 11:08:06 -05:00