Commit graph

4847 commits

Author SHA1 Message Date
Jays2Kings
de1442b953 Show bookmark badge or sub chapters in recents
also fix where that badge shows when showing the title first in recents
2023-03-13 02:52:50 -04:00
Jays2Kings
31ec0ec945 Fix initial downloaded badge color
which applies in recents and manga details when theming is off
some refactoring to in DownloadButton as well, like renaming colorSecondary to accentColor
2023-03-13 01:56:32 -04:00
Jays2Kings
bccb7c0e03 Refactor padded page confidence fields 2023-03-12 17:40:12 -04:00
Jays2Kings
ea264d7ed0 Even more fixes to shifter
Fix to an odd page that could be mistaken as a start or end page, but is likely an end page. Added with the fact the first page is a spread, and the second is unknown and it gets funky.

source for these fixes: fix was applied for kanan-sama chap 40
2023-03-12 16:55:49 -04:00
Jays2Kings
ddf97d0e9b More fixes to shifter
Fixed when page 3 is maeked as an end page and it shifts, but page 2 is *definitely* an end page so it should shift back.

Gonna started adding the source for these fixes: fix was applied for imaizumin's chap 12
2023-03-12 04:03:47 -04:00
Jays2Kings
63e372e092 More changes to the scrolling text
Making sure the text doesn't scroll when the menu is only temporarily visible (also renamed that field)
2023-03-12 03:46:34 -04:00
Jays2Kings
4667588d23 fix the text scrolling on rapid open/close of menu 2023-03-11 02:04:37 -05:00
Jays2Kings
34960a38d4 Fix warnings in ReaderActivity/ViewModel 2023-03-10 15:42:30 -05:00
Jays2Kings
dbbe295559 Automatically scroll manga/chapter name in reader activity 2023-03-10 15:39:55 -05:00
Jays2Kings
a28e1b8759 Fix recent groups not showing body text for unread history entries 2023-03-10 15:36:37 -05:00
Jays2Kings
9ffde130b9 Move history object outside of the chapter object
a bit of refactoring if you will
2023-03-09 19:46:30 -05:00
Jays2Kings
d3cb32af38 In history: Don't show "Read time" for chapters not read yet when expanded
the sub chapters will inform when it was last read
2023-03-09 19:25:48 -05:00
Jays2Kings
9cb6413bf6 Fixing the rapid changing of the shifter 2023-03-08 12:52:55 -05:00
Jays2Kings
5f4abb3690 fix for last commit 2023-03-07 01:08:03 -05:00
Jays2Kings
4e3b0d4c10 Add bg fill to tracker image on error 2023-03-06 22:43:21 -05:00
Jays2Kings
202151f0a4 for double page mode: smaller pages are now scaled up 2023-03-06 22:18:49 -05:00
Jays2Kings
4ef3f2437b General Fixes to reader + shifting
*Fixed the lag when initally shifting form single to double page (stopped using with ui context)
* Added a confidence to the padding check, since its easier to know if one page belongs to one side of a pair than another sometimes (still not perfect, but it never will be
2023-03-06 20:20:42 -05:00
Jays2Kings
443c581ea6 Hide read text in sub chapters if 24 hours have passed since last read
instead of just checking if it it was read 2 days ago
2023-03-05 13:12:46 -05:00
Jays2Kings
7ed2ad4aad Fixed history showing the wrong chapter when multiple entries have the same manga on the first paginated result
An extra fix to 80732700fc
2023-03-05 13:05:26 -05:00
Jays2Kings
3729c67244 Make Recent view type an enum
Also more changes!
* Ungrouped history now shows the latest unread chapter on the first unread
* Cleanup/Refactoring/Documentation of runRecents
2023-03-04 19:43:03 -05:00
Jays2Kings
28f2d393f8 Refactor compatToolTipText method 2023-03-04 18:51:23 -05:00
Jays2Kings
b11318f249 Clean up RecentMangaAdapter 2023-03-04 18:51:06 -05:00
Jays2Kings
80732700fc Fix history not showing the next unread chapter after returning to the controller 2023-03-04 17:58:07 -05:00
Jays2Kings
982cbc42fd fix scanlator in body of updates 2023-03-03 21:17:20 -05:00
Jays2Kings
0485a7f692 Even more updates to recents
*Fix history chapters showing the same unread chapter twice
*When searching, automatically expand all items, with no option to collapse (why would you?)
*Hide subtitle in sub chapters in history if the chapter's read date is over a day old (no point showing the same text that would be there already in the main section)
set a min height for the sub chapter items
* Make sub chapter text slightly bigger if there is no subtitle
2023-03-03 19:50:24 -05:00
Jays2Kings
597a37f1c2 More recents updates
*Add option to expand/collapse grouped chapters separately from updates
*Show "more chapters" in body text when collapsed in updates section
*Only take last set of recentsitems to check if theres an existing
*Shrink the size of sub chapters text
2023-03-03 16:05:59 -05:00
Jays2Kings
d109819c3a Fix history/recents not being truly endless
Also don't show the same unread chapter further down the line in history if it was shown before
2023-03-03 03:06:44 -05:00
Jays2Kings
addabd70bb Can now expand history grouped chapters
just like the update sections, the preferences for history its either always collapsed by default, or its separated out
2023-03-03 01:35:27 -05:00
Jays2Kings
f1c5f65090 Update gradle to 7.4.2 2023-03-03 00:23:21 -05:00
Jays2Kings
3df6d849d8 updates to the constraints of smaller updates section
for the button layout not to expand when theres a body to an item
2023-03-02 23:20:01 -05:00
Jays2Kings
bbef22536c Filter out blocked scanlators from updates section 2023-03-02 22:42:54 -05:00
Jays2Kings
66f77aafc0 Fix download button colors 2023-03-02 22:39:01 -05:00
Jays2Kings
57daa70c07 refactor recent_manga_item 2023-03-02 22:29:12 -05:00
Jays2Kings
0a2991de96 Show scanlator's name in updates if grouped updates also has the same chapter
Also fixes to the xml preview of the download button
2023-03-02 20:07:29 -05:00
Jays2Kings
9a48186d7f Update & unify error layout in reader
matches upstream, few extra changes with it though
also refactoring on the material button main theme

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2023-03-02 17:25:10 -05:00
Jays2Kings
5e44436361 Fix download status not updating in recents 2023-03-02 14:15:04 -05:00
Jays2Kings
991d46c8aa Replace RxJava in SettingsAdvancedController 2023-03-02 01:50:34 -05:00
Jays2Kings
9c521e23ce Replace RxJava in webtoonholder 2023-03-02 01:45:48 -05:00
Jays2Kings
b7fc06d2ad Replace RxJava in reader transitions
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2023-03-02 01:17:42 -05:00
Jays2Kings
d2d650da70 fix opening recents from widget from cold app start 2023-03-02 00:06:49 -05:00
Jays2Kings
c4a59fd711 fixed collapsing/expanding state in recents update when resuming app 2023-03-01 17:26:44 -05:00
Jays2Kings
ec30ad1930 Combine grouped chapters if more are fetched while paginated 2023-03-01 17:14:51 -05:00
Jays2Kings
6182ae73d7 cleanup unused methods in last commit 2023-03-01 16:44:50 -05:00
Jays2Kings
3a1855bc1d Updates to update section in recents
Fetched header now updated to be a bit more modern; no more shadow
Manga with multiple updates in a day are now grouped together, with the first unread chapter at the top (or last read chapter first)
Few fixes to the ghost view behind the recycler (might adapt to other places soon enough)
Group chapters together setting now changed to collapse grouped chapters, by default the lists are expanded
This change also means that when grouping, manga will show again on a different day when previously it did not
2023-03-01 16:15:49 -05:00
Jays2Kings
c4901ce732 helper method for hiding chapter titles
also fix invalid chapter numbers showing "Chapter -1"
2023-03-01 15:48:10 -05:00
Jays2Kings
90054bf9d2 update download button's ripple 2023-03-01 15:22:43 -05:00
Jays2Kings
f1768d3918 random cleanup 2023-03-01 15:22:32 -05:00
Jays2Kings
953f3c48f0 Open updates when tapping on an empty space on the widget 2023-02-28 16:31:56 -05:00
Jays2Kings
4b523f6b9e clean up import in PagerPageHolder 2023-02-28 16:30:53 -05:00
Jays2Kings
6872616db5 replace subscription with job in PagerPageHolder
also more fixes to the auto shifting
2023-02-28 02:27:46 -05:00