Commit Graph

3356 Commits

Author SHA1 Message Date
Jays2Kings
1c30445e68 Indent fixes on Library Presenter 2021-04-28 03:58:26 -04:00
Jays2Kings
5fe86a98f4 Fix floating action bar showing in some intents 2021-04-28 01:05:58 -04:00
Jays2Kings
f473e46c92 Using a helper to get the toolbar height
since there's 2, one of them might be hidden and have a height of 0
2021-04-28 00:24:46 -04:00
Jays2Kings
798c93b44b Fix indents in ReaderPresenter 2021-04-27 23:53:34 -04:00
Jays2Kings
1bcdd43235 Move save pages to manga title setting to Reader section
Also updating some of these strings, because of course I am

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-27 23:52:53 -04:00
Jays2Kings
2f654e7f79 Add strings for seperate folder save page setting
because cherry picking still isn't a simple task
2021-04-27 23:33:18 -04:00
OncePunchedMan
3da1efe255 Setting: Creates folders according to manga title (#4861)
* cherry-picking my changes

* Update SettingsDownloadController.kt

* Update SettingsDownloadController.kt

* Update ReaderPresenter.kt

Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-04-27 23:29:26 -04:00
Jays2Kings
bde4d437eb Fix comment for openUpdatePendingActivity 2021-04-27 23:24:41 -04:00
Jays2Kings
7eb76f68da Fix cancelRestoreUpdate comment 2021-04-27 23:24:41 -04:00
Jays2Kings
4dea924337 Add cancel button in notification to cancel download of updated version
Since if a download gets stuck theres no way to cancel it (then again updating form GitHub would clear this out)
2021-04-27 23:24:41 -04:00
Jays2Kings
3255fac29e Fix extensions update intent 2021-04-27 23:24:41 -04:00
Jays2Kings
d9a4438226 Move UpdaterJob to 2 days in 3 hours span
since j2k updates more often than stable (although not lately...)
2021-04-27 23:24:21 -04:00
Jays2Kings
77c080cc47 Adding a button in new release notification to open GitHub release page
Shows also while downloading/error/installed

Should help those who can't complete their downloads for some reason

There's also refactoring from upstream in this, including tapping on the notification for an intent. However the intent here opens the app with the release notes dialog
2021-04-27 23:03:17 -04:00
Jays2Kings
0b4f83d83e Reset Incognito Mode on app relaunch
From tachiyomiorg/tachiyomi@f407e30b6e

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-27 16:01:35 -04:00
Jays2Kings
f574cfcbf7 Fix tint of buttons in searchview 2021-04-27 15:32:50 -04:00
Jays2Kings
94406f6480 Global search from extensions intents no longer show search toolbar
Also fixed search toolbar up button in search activity not going back to main activity
2021-04-27 14:40:38 -04:00
Jays2Kings
797174843a Fix manga details toolbar icon visibility 2021-04-27 14:37:28 -04:00
Jays2Kings
36a22c9595 Remove colored toolbar when expanding cover as well 2021-04-27 03:06:02 -04:00
Jays2Kings
9dbeab3458 Fix options when tapping on a cover in manga details 2021-04-27 03:01:09 -04:00
Jays2Kings
c5f592bbe7 Allow extensions/migration sheet to be dragged down while recycler is settling 2021-04-27 02:39:14 -04:00
Jays2Kings
881da13dc9 Renaming EdgeToEdgeBottomSheetDialog to E2EBottomSheetDialog 2021-04-27 02:35:26 -04:00
Jays2Kings
c9e22d898d Random potential crash fixes 2021-04-27 02:29:09 -04:00
Jays2Kings
dbf96f68ff Library presenter now fixes category order when 2 categories have the same order
It's unlikely the case and nothing awful happens with it, but it fixes the jump to category sheet
2021-04-27 02:28:59 -04:00
Jays2Kings
d1c709ce2c Fix crash when using -1 as an id for MaterialMenuSheet
turns out fast adapter does not like -1 as an id
2021-04-27 02:27:13 -04:00
Jays2Kings
5c6a91b0d3 Option to include default category in downloading new chapters 2021-04-27 02:06:57 -04:00
Jays2Kings
63e6fb715d Updates to manage category dialog
Fixes to default category basically + adding global update check to default
2021-04-27 00:48:58 -04:00
nzoba
d72189b8e4
Adding Default categorie in global update pref (#745) 2021-04-27 00:06:19 -04:00
Jays2Kings
8826e7984f Changed wording from "Last fetched" to "Date fetched"
Matches upstream and sounds better
Also moved it lower in the sort list
Also updates "Last Updated" to "Last updated" (was thinking of using this string instead for fetch but too much confusion)
2021-04-26 21:28:51 -04:00
Jays2Kings
1858d70f97 Fix bad indexes in MaterialMenuSheet 2021-04-26 21:18:43 -04:00
Jays2Kings
b39225cac5 Fix manga shortcuts saying "Manga" 2021-04-26 21:18:14 -04:00
Jays2Kings
a71bdc14c5 LibrarySort is now an enum
with lot of helper methods and stuff
With it came the refactoring of Category sort options

Also a new icon for last fetched
2021-04-26 21:16:51 -04:00
Jays2Kings
1ceb9692bb Adding last fetched sort 2021-04-26 15:54:39 -04:00
Jays2Kings
6632ea2d2f Moving library to new base coroutine classes 2021-04-26 15:37:57 -04:00
Jays2Kings
a9125cc591 Create base coroutine classes for controller/presenters
Using so far for recents and extensions presenter
2021-04-26 15:36:57 -04:00
Jays2Kings
f28419ce3f removed logic to try and fix the fast scroll
It just can't be fixed...
2021-04-26 15:05:39 -04:00
Jays2Kings
f5b5be9e0b Using viewscope in about 2021-04-26 15:05:10 -04:00
Jays2Kings
0b4019a1cb Fixes to CoroutineScope
This includes removing what I thought was a good helper method for a list of preferences

Also using a base scope for controllers (others will have to be updated later)
2021-04-26 05:29:12 -04:00
Jays2Kings
8753d188d1 MaterialMenuSheet now uses a recyclerview
Also moved whats new sheet to mainactivity as a function
2021-04-26 04:43:52 -04:00
Jays2Kings
d0af0ddffe recyclerView helper method in E2Ebottom sheet prevent accidental drag downs 2021-04-26 03:28:36 -04:00
Jays2Kings
8523dba27b Creating a base class for the edge2edge bottomsheets 2021-04-26 03:15:59 -04:00
Jays2Kings
5ca4e8ade0 remove visible helper
big ups to android studio for breaking indexing hard while I refactor
2021-04-26 02:28:04 -04:00
Jays2Kings
5d2e0ebbe7 remove gone helper 2021-04-26 02:19:45 -04:00
Jays2Kings
fa4de0990f remove invisible helper 2021-04-26 02:03:59 -04:00
Jays2Kings
dc80b37dbc missed import on CoverViewTarget 2021-04-26 01:52:56 -04:00
Jays2Kings
7dbd6a4128 Replace visInvisIf helper with isInvisible 2021-04-26 01:46:28 -04:00
Jays2Kings
18111be272 Removing isVisible/visibleIf helper methods for androidx.core.view 2021-04-26 01:39:09 -04:00
Jays2Kings
20f8fac479 remove java.enumConstants where unneeded 2021-04-26 01:25:53 -04:00
Jays2Kings
4fa4953a7e Fix warnings/suggestions in reader 2021-04-26 01:25:08 -04:00
Jays2Kings
7a90d1bf06 Using popup menu helper for reading mode 2021-04-26 01:19:02 -04:00
Jays2Kings
cd81df0cf2 Move Themes enum into its own file 2021-04-26 01:12:08 -04:00
Jays2Kings
b7b2c9ab64 Move ReaderBottomButton to its own file 2021-04-26 01:05:16 -04:00
Jays2Kings
47f6c54412 Helper method for list of preferences flow 2021-04-26 00:55:37 -04:00
Jays2Kings
820d240997 Updates to rotation options
Taken from upstream:
Forced orientation are now locked
Free-ish modes is now Portrait/Landscape instead of lock
Rotation button in bottom sheet toolbar (default off)
Popup menu helper method

Also because it's getting crowded, updated layouts of the buttons in the sheet to compress themselves a bit if people go crazy (though display options will always be full width)

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-26 00:38:12 -04:00
Jays2Kings
fdc976d4f9 using lowercased phrases for "search" screen titles
Recents updated to say "search updates & history" which changes based on the tab you're in
Library updated to say "search your library"
2021-04-25 12:05:30 -04:00
Jays2Kings
371b77e75f Fix solid appbar bg when leaving recents to another tab
Caused by 48a4b3091
2021-04-24 17:01:14 -04:00
Jays2Kings
fe09262a66 Perform a global search via share menu
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-24 16:42:46 -04:00
Jays2Kings
a756b40b47 adding QUERY_ALL_PACKAGES permission
since it'll later be used whenever target sdk 30 happens

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-24 16:33:56 -04:00
Jays2Kings
c9388f6633 Open source from global search
Along with other changes from upstream

The difference as you'd expect:
Not allowing the opening of a source on migration and from extension intent
Also when moving up sources in global search after returning results. The incoming results for subsequent sources will go under the already returned results, instead of being alphabetical and shifting the top results (pinned sources still show on top though)

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-24 16:31:31 -04:00
Jays2Kings
48a4b3091f Fix recents having transparent appbar on pop enter 2021-04-24 15:12:43 -04:00
Jays2Kings
9572c9b7ee Searching in library now moves to the top of the list on text change 2021-04-24 14:58:34 -04:00
Jays2Kings
2d520026a1 Search bar toolbar in some screens + many search fixes
This would be a yoink if this wasn't from scratch, so let's call it a spiritual yoink

Floating search bar as a toolbar for the following screens:
Library, Recents, Browse, Settings, Browse Source, Global search

Fixes include:
Searching now saves when pausing/resuming tachi activity

Other changes:
Tapping on the search bar in library also shows backdrop now (which will collapse on close/starting to type
Also using a subtitle in the library to show the current category

*good luck TF*
2021-04-24 14:52:05 -04:00
Jays2Kings
9d74c2fba3 Show read manga in recents when searching, even if setting is off 2021-04-24 14:13:14 -04:00
Jays2Kings
1ed58d8bee remove unused import in search controller 2021-04-24 14:12:52 -04:00
Jays2Kings
afc61ebf32 Fix accent color on fast scroll 2021-04-24 14:10:22 -04:00
Jays2Kings
bc760cf7b1 Fixes to fast scroller
Using android back gesture no longer sometimes jump the screen
Fix issue when sometimes dragging fastscroll tries to drag to the top on release
2021-04-24 14:09:49 -04:00
Jays2Kings
0327accecb Download badge is now inverted for themes with black colorOnAccent 2021-04-24 13:30:25 -04:00
Jays2Kings
bf3cba380f Fix layout of options in library filter sheet 2021-04-24 04:11:36 -04:00
Jays2Kings
9e813f773b Long press in global search to add to/remove from library 2021-04-24 04:02:01 -04:00
Jays2Kings
a33f339c19 Rename asFlow helper method
for asImmediateFlow with scope to asImmediateFlowIn
2021-04-23 23:32:59 -04:00
Jays2Kings
ec87df7056 Fixed #765 2021-04-23 23:19:55 -04:00
Jays2Kings
6906fff121 Downloading/Deleteing batch chapters now ignores current filter
Fixes #761
Also deleting all chapter now delete entire manga folder, not just chapters

Also also trying to delete certain type of chapters will pop up "No chapters to delete" if theres... yeah
2021-04-23 23:13:48 -04:00
Jays2Kings
3177063ada updates to browse animation + minor to recents 2021-04-23 23:05:20 -04:00
Jays2Kings
ba86aec35e Animated recents tab icon 2021-04-23 19:41:50 -04:00
Jays2Kings
5b6463c823 Animated browse tab icon 2021-04-23 19:39:49 -04:00
Jays2Kings
f664a4cf9b Animated icon for library tab
added a 75ms delay because of lag when switching tabs
2021-04-23 19:39:22 -04:00
Jays2Kings
704f57300b Fix crash when recent manga has no title 2021-04-23 14:55:13 -04:00
Jays2Kings
87ef22003c Using common ViewHolder for WebtoonBaseHolder
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-23 14:54:37 -04:00
Jays2Kings
85ae4ed2e2 Removing setting the smart bg in the httppageloader
This relates to #759 and should potentially fix it, but we'll see
2021-04-22 21:25:18 -04:00
Jays2Kings
421f42cd78 Using json instead gson in chaptercache
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-22 20:49:44 -04:00
Jays2Kings
8e7143e8b4 Making OkHttpExtensions in line with upstream
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-22 20:43:41 -04:00
Jays2Kings
221bb58c8c Fix loop when using skip chapter transition
With this change the transition page now goes away. after loading. I imagine those who don't want to see this page would like this change anyway
2021-04-22 20:39:38 -04:00
Jays2Kings
aa8bc85acd Fix long press vibration on items without actions in recents 2021-04-21 13:27:41 -04:00
Jays2Kings
27fef68e54 Swipe to mark as unread in recents
Closes #762
2021-04-21 13:27:21 -04:00
Jays2Kings
d1d327cfe1 Fixed #596 2021-04-21 13:24:18 -04:00
Jays2Kings
7f818e0735 Changed Updates headers to "Fetched _x_" instead of "Added _x_" 2021-04-21 01:17:40 -04:00
Jays2Kings
49bd889fcc Tweaks to Grouped, and optimization to paging in Recents 2021-04-21 01:12:27 -04:00
Jays2Kings
f84ac9f24c More Recents options
Using a tabbed sheet here too, options include:
Updates:
   * Group chapters together (off by default)
   * Show updated time
History:
   * Group chapters together (on by default)
2021-04-21 01:11:05 -04:00
Jays2Kings
91a9b721bc Fixed #760 2021-04-20 23:10:21 -04:00
Jays2Kings
d5c7b09908 Fixed #756 2021-04-20 23:01:52 -04:00
Jays2Kings
51cb0de751 update fastAdapter library 2021-04-19 22:57:21 -04:00
Jays2Kings
196aa8aa0c Using AnimatedVectorDrawableCompat in all places
No idea why I trusted google with this
2021-04-19 22:49:38 -04:00
Jays2Kings
5b40f10c89 Long press reader display options now opens color filters 2021-04-19 22:48:37 -04:00
Jays2Kings
10a701c211 Fix reorder filter crash 2021-04-19 17:32:19 -04:00
Jozef Hollý
648f07bae7
Weblate translations (#722)
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: Emanuel Silva Sousa <esilvasousa12.es@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Gian Albert Alfani <alfanigian@gmail.com>
Co-authored-by: Hautzii <am.03012002@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jakub Fabijan <animatorzPolski@gmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: Lucas I. Jonas <lucasmak9@gmail.com>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: NineSeven <nk97lstar+github@gmail.com>
Co-authored-by: OfficialBispo <diogobispo10@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Co-authored-by: Riztard Lanthorn <riyanluqman@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Zulkifli <zulhaha1@gmail.com>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: opb <myniceaddress@outlook.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/eo/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ro/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hans/
Translation: Tachiyomi/Tachiyomi J2K

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: Emanuel Silva Sousa <esilvasousa12.es@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Gian Albert Alfani <alfanigian@gmail.com>
Co-authored-by: Hautzii <am.03012002@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jakub Fabijan <animatorzPolski@gmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: Lucas I. Jonas <lucasmak9@gmail.com>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: NineSeven <nk97lstar+github@gmail.com>
Co-authored-by: OfficialBispo <diogobispo10@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Co-authored-by: Riztard Lanthorn <riyanluqman@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Zulkifli <zulhaha1@gmail.com>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: opb <myniceaddress@outlook.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
2021-04-19 16:13:09 -04:00
Jays2Kings
b94f427434 Fix migration of grid size 2021-04-19 16:12:18 -04:00
Jays2Kings
d731027b2e Using with for recycler in library 2021-04-19 16:11:39 -04:00
Jays2Kings
d45d3014f4 Dropping the first cache change of chapters
in a random attempt fix cache closed issues
2021-04-19 13:35:29 -04:00
Jays2Kings
0492b2e1dd Refactor HistoryLastReadPutResolver 2021-04-19 13:02:05 -04:00
Jays2Kings
d0ceac73f5 Fix issues with ManageCategoryDialog 2021-04-19 12:58:35 -04:00
Jays2Kings
a65ac5cab5 Fix download queue not being removed after all items downloaded 2021-04-19 03:22:34 -04:00
Jays2Kings
ff5e507255 Remove unused imports in RecentMangaHolder 2021-04-19 03:22:16 -04:00
Jays2Kings
729f9af34a Fix being able to expand/collapse a single category via long press hopper 2021-04-19 03:05:23 -04:00
Jays2Kings
1e454f5a6c Updates mode of recents now has a square cover 2021-04-19 03:02:35 -04:00
Jays2Kings
eba372b659 Rewording recents "show read in all" setting 2021-04-19 02:44:50 -04:00
Jays2Kings
d4a754b92d Disabling drag and drop in library unless selected as the sort option
So the option for DnD now appears in sort list, otherwise categories not in DnD mode are locked
2021-04-19 02:38:14 -04:00
Jays2Kings
a0dba53128 Option to move collapsed dynamic categories to bottom of the list 2021-04-19 01:19:31 -04:00
Jays2Kings
85596ea61d combine post calls in FilterBottomSheet 2021-04-19 01:16:21 -04:00
Jays2Kings
17809d0493 Moving collapse/expand categories button back to filter sheet
I just can't decide
2021-04-19 00:31:28 -04:00
Jays2Kings
4bb6dbf528 Option to collapse dynamic categories 2021-04-19 00:19:38 -04:00
Jays2Kings
94a90c6cec Minor updates to downloader from upstream
Such as available space check and using io thread instead of ui

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-19 00:14:24 -04:00
Jays2Kings
4462e75ccd using ignorecase check instead for LibraryItem 2021-04-18 23:55:14 -04:00
Jays2Kings
a7e000d159 Fix error with building 2021-04-18 21:31:56 -04:00
Jays2Kings
babb6061e0 Fix color of recents remove history subtitle 2021-04-18 21:01:09 -04:00
Jays2Kings
e028c3395c Removing Edge to Edge for webview
it was nice but it breaks too many sites for it
2021-04-18 03:07:15 -04:00
Jays2Kings
f1cc4a35dc Fixes to themes and theme changing in webview 2021-04-18 02:22:19 -04:00
Jays2Kings
5d0fc750a7 Fix color of about subtitle 2021-04-18 02:04:10 -04:00
Jays2Kings
fd73a7d941 More tracepot fixes 2021-04-18 01:53:46 -04:00
Jays2Kings
3d2eac7772 Fixing a few tracepot crashes 2021-04-18 01:48:44 -04:00
Jays2Kings
6b0813928a Separate view in filter sheet to drag the whitespace of the sheet 2021-04-18 01:40:47 -04:00
Jays2Kings
4b516e2a77 Move reorder filters to display tab of library display options
Also renamed the last tab back to categories
2021-04-18 01:38:10 -04:00
Jays2Kings
cf18b148cc Using maxOfOrNull in more places 2021-04-18 01:13:12 -04:00
Jays2Kings
3cf8b52025 More helper methods in MenuSheetItemView 2021-04-18 01:04:41 -04:00
Jays2Kings
19ce2d2427 Remove help/about from main settings
3 commits back as mentioned added help/about in the overflow dialog, so they can be removed from here
2021-04-18 00:57:16 -04:00
Jays2Kings
27d49401ae Using withsubtitle helper method in more places
2 commits back also added a helper method for combining text with a subtitle
2021-04-18 00:53:37 -04:00
Jays2Kings
71548573ec Using outlines settings icon for tabbed sheets
This was added last commit, which fyi is slightly different from the one upstream, this one is more akin to the one in google apps
2021-04-18 00:51:53 -04:00
Jays2Kings
0042052458 Part 2 of incognito (Enabling)
For this, i've finally changed the settings button in the 3 main tabs to more button, which opens a custom dialog with a toggle for incognito, settings, about, and help

Also we're now at 4* animations this release
2021-04-18 00:50:40 -04:00
Jays2Kings
28f1be6cb7 Updates to main activity xml for the previous commit
Not needed for previous commit, but removing an unused linearlayout in the toolbar
2021-04-18 00:42:38 -04:00
Jays2Kings
60f43e4457 Part 1 of incognito mode
Split this up into multiple commits since it's more readable but here goes:

Adding the preference for incognito mode (currently not togglable in this commit)

This is the logic from upstream, however as per ushe, there's difference in presentation. This one adds an incognito icon to toolbar. How it's displayed in upstream can work here to with (not too much) effort, but boy this was is easier and lazier

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-18 00:39:31 -04:00
Jays2Kings
2661cd6e2e ReaderActivity Lint fixes 2021-04-18 00:28:32 -04:00
Jays2Kings
82f711d62c MainActivity Lint fixes 2021-04-18 00:26:51 -04:00
Jays2Kings
5c4f8bf18b Update android x libraries to RC or stable release 2021-04-18 00:26:37 -04:00
Jays2Kings
a0f00df1ab More updates to MenuSheetItemView
support for maxlines, remove isclickable (since it messes up xml inflatation)
2021-04-18 00:26:19 -04:00
Jays2Kings
da2cca16a6 Turning MenuSheetItemView into an attributable view
So we can just set this in xml (to be used later)
2021-04-17 01:58:05 -04:00
Jays2Kings
ce9372cb75 Fix edge effect for recycler in source filter 2021-04-16 23:15:42 -04:00
Jays2Kings
611ecbb552 Material spinner view now defaults to max lines 2021-04-16 23:15:11 -04:00
Jays2Kings
746468ee8d Fix not being able to drag filter sheet 2021-04-16 23:11:26 -04:00
Jays2Kings
0cf56ca335 Using a seekbar to select grid size
This is mostly the same amount of options for phones, but opens more for tablets

There's also actual math now for setting the grid size and a float used (rounded to the nearest .25)

I could just add back portrait/landscape per row....I could but

This seeker also has a bubble tooltip to show the current value, might use elsewhere later
2021-04-16 22:59:55 -04:00
Jays2Kings
4cbf1cc785 Fix nav bar having a background sometimes when switching screens 2021-04-16 15:03:50 -04:00
Jays2Kings
5d2a0feb5f Open Library display options in main library settings
Also converting more rxprefs to flow prefs
2021-04-16 15:03:24 -04:00
Jays2Kings
91743c056d Moving lime theme beside dusk theme
Since the themes are more similar than the amoled ones
2021-04-16 03:31:15 -04:00
Jays2Kings
c61198d060 Fix hopper not showing when filters are open and theme changed 2021-04-16 03:25:21 -04:00
Jays2Kings
388595c290 Filter Tag Group now matches color accent of theme
Plus tool tip for clearing filters
2021-04-16 03:25:01 -04:00
Jays2Kings
681ceccf2e Using enum for filter order instead of random string and chars 2021-04-16 02:54:13 -04:00
Jays2Kings
c002a23da2 Moving buttons in library filter sheet to display options + new settings
Option to change what hopper long press does (search, expand/collapse, display options, group library)
Also moving hide hopper/ hide hopper on scroll into one spinner
2021-04-16 02:36:58 -04:00
Jays2Kings
8f2a5e1453 Making sure display options don't display multiple times 2021-04-16 02:25:20 -04:00
Jays2Kings
650c3bc4f8 Creating BooleanExtentions
Starting off with toInt()
2021-04-16 02:22:40 -04:00
Jays2Kings
07cc4eefb3 Support for maxLines in Mat Spinner View 2021-04-16 02:21:19 -04:00
Jays2Kings
5bc80c71c5 Revert "Seearch by manga description in Library (#716)"
This reverts commit db818f2e6f.

Sorry Ainz, it'll come back at a later date
2021-04-16 00:09:01 -04:00
Jays2Kings
fdcd855bb2 Prefixing all the anim drawables with anim_ 2021-04-16 00:06:53 -04:00
Jays2Kings
7f47c5fd4d Animating Download Button (I can't stop)
from downloading to download goes to:
Fill in circle
Fly in a check mark to replace the down arrow (looks like upstream at the moment....am I changing to be like upstream?)
SIKE, it changes right back to the down arrow after a second

...why am I like this

Also I removed the double download completed call to listeners or whatever
oh and cleanup of dlqueue i guess
2021-04-16 00:02:37 -04:00
Jays2Kings
2c143155d6 Fix restore adding unknown status to items 2021-04-15 04:16:51 -04:00
Jays2Kings
05558f5733 Show "shift double pages" as default enabled in settings on for tablets 2021-04-15 03:42:56 -04:00
Jays2Kings
3b23a95985 Fix shift button not showing in toolbar when toggled in intent reader settings 2021-04-15 03:35:14 -04:00
Jays2Kings
5a4632a99c Only play animation for crop if crop has changed
Not when switching reading mode
2021-04-15 03:30:26 -04:00
Jays2Kings
73281871f9 Using a blended accent for the selected color in spinner view 2021-04-15 03:24:15 -04:00
Jays2Kings
5774dea854 Adding option to show reader mode in bottom nav
Instead of clicking through, it's showing a popup to pick the reading mode

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-15 03:23:56 -04:00
Jays2Kings
f12be4a480 Option to choose what buttons show up in the bottom reader sheet
+ Lots of optimizations/refactoring to custom preferences
2021-04-15 02:55:46 -04:00
Jays2Kings
053a5149c2 Possibly Fix reader bottom sheet sometimes not showwing 2021-04-15 01:05:50 -04:00
Jays2Kings
6c581dd0fc Adding Animation when expanding/collapsing sections in source filter sheet 2021-04-15 01:04:19 -04:00
Jays2Kings
41f3d1ea2a Updates to the Source Filter Sheet
With some renaming, but mostly taking changes from upstream + some from the new set categories sheet (such as reset/filter at the bottom

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-15 00:52:05 -04:00
Jays2Kings
0afe075f46 Option to edit the series type of manga etc.
All this is doing is adding and removing the correct tags to shift the series type

Reordering the series/reader type to comply with this
2021-04-14 22:06:26 -04:00
Jays2Kings
7b13c4163e Adding string for the message when webtoon is forced 2021-04-14 21:23:38 -04:00
Jays2Kings
7fd4c69c3e Rename mangaType to seriesType 2021-04-14 20:53:06 -04:00
Jays2Kings
3cd5043e67 Disable reading mode for webtoons in settings
Comes with a popup to say change manga type if anything
2021-04-14 20:50:28 -04:00
Jays2Kings
eabf5e2a8b Using "Reading mode" instead of "Viewer for series" 2021-04-14 20:49:15 -04:00
Jays2Kings
71e6c3132f Allow manhwas to be read in non webtoon formats
but only them. Webtoons will still force webtoon mode

It's about time for this anyway, not all sources can be mangadex but the original goal has been reached: force users libraries to webtoon for manhwa

Now they can be free...ish

Also some changes to the logic for series type
2021-04-14 20:37:00 -04:00
Jays2Kings
5c741e2fc5 Missed the network updates oops
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-14 20:15:46 -04:00
Jays2Kings
72f297f457 DoH Google + More updates to cloudflare / useragent from upstream
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-14 20:14:59 -04:00
Jays2Kings
331d2fcd9e Updates to cloudflare / useragent from upstream
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-14 18:30:00 -04:00
Jays2Kings
9e3aaab95f Edit Manga Status (for Local and online
Mostly the same, except custom status can be null so it's not automatically added to the edits.json

Since SY implemented first I'm using the same key for backups, I would've liked if customStatus was nullable but it is what it is

Closes #704

Co-Authored-By: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2021-04-14 16:18:58 -04:00
Jays2Kings
928fc06e58 Removing the logic for cleaning the old way for saving custom manga info 2021-04-14 15:53:13 -04:00
Jays2Kings
2c7db3c2be Fix some menu items showing up when they shouldn't in manga details 2021-04-14 15:51:00 -04:00
Jays2Kings
d584aa56b9 Adding a default popup for selectedPosition in spinner view
For cases where neither bind no listener is implmented, you can just get the selected position
2021-04-14 15:50:09 -04:00
Jays2Kings
f0fbab56af Fix UnreadOrDownloaded downloads button not working properly 2021-04-14 02:39:23 -04:00
Jays2Kings
820dfaf7b5 Update padding for reader nav, making more room for the seekbar 2021-04-14 02:39:00 -04:00
Jays2Kings
ee4f3e6586 Migrating manga now also saves more chapter info
Bookmarks, Last Read, Date fetched, and has been read fully (this was already tracked but previously it only took the highest chapters

Closes #151
2021-04-14 02:38:37 -04:00
Jays2Kings
3977b2a67a Download button now matches accent when downloaded 2021-04-14 01:19:36 -04:00
Jays2Kings
9cde6a5eaa Adding documentation on the theme util color vals 2021-04-14 01:03:19 -04:00
Jays2Kings
d8bb6afaee Fixes to flatline preview 2021-04-14 00:59:18 -04:00
Jays2Kings
f1e5742491 Fixes to color primary values 2021-04-14 00:49:17 -04:00
Jays2Kings
88fd6e5c98 Fix webtoon mode not calling OnPageSelected in some cases (in upstream too)
This fix isn't 100% tested, but like 80%.

@arkon if you're reading this, this issue is happening up stream too. I can make a issue for it in the repo but haven't checked if it happens there:

Steps:
Get Cubari source, search "cubari:imgur/3iOqiIy" change to continuous vertical, crop borders. Then back out and open the chapter again. onPageSelected isn't called because recycler position is -1. Regardless of the 4 pages you should be on

also fyi just a slight scroll fixes this issue but still
2021-04-14 00:02:56 -04:00
Jays2Kings
cdc7f64637 Adding button to crop borders (only for webtoons) in reader bar
And because I can't cherry pick things, I spite myself by using a different icon for non cropped mode AND its having an animation to and from crop mode.

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-13 23:43:41 -04:00
Jays2Kings
6d6b42b2ca Some random refactoring of webtoon mode from upstream
To later take the missing chapters stuff

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-13 23:38:51 -04:00
Jays2Kings
c9ee715f01 Fix coloring of reader chapters sheet when expanded 2021-04-13 22:51:15 -04:00
Jays2Kings
b42fa19867 Fix webtoon view not updating on crop border change
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-13 22:48:29 -04:00
Jays2Kings
d36c6f501e Auto hiding invert double page setting in reader settings 2021-04-13 15:09:32 -04:00
Jays2Kings
2be38ab151 Fix for auto summaries in preferences not showing 2021-04-13 15:07:33 -04:00
Jays2Kings
1455f2c2d7 Also adding helper method for last commit
I'm bad at this ok
2021-04-13 14:57:33 -04:00
Jays2Kings
f9d42601e0 Fixed #733
Also removed custom summary in favor of using a summary provider
2021-04-13 14:56:47 -04:00
Jays2Kings
3553013191 Added new string to for mentioning times when the date time is at 0 2021-04-13 14:53:35 -04:00
Jays2Kings
5b840161e7 Recents searching is now paginated 2021-04-13 14:12:09 -04:00
Jays2Kings
77e8ac4b00 Even more optimizing to Recents
Ungrouped/Grouped are now a single db call using union

Also this only confirmed my hate of SQL and especially SQLite

Anyway this should close #726
2021-04-13 13:44:37 -04:00
Jays2Kings
bbf3fcab18 Using a smaller item view for only updates mode 2021-04-12 23:33:45 -04:00
Jays2Kings
6f78187cb9 Use app tint on download button xml 2021-04-12 23:32:49 -04:00
Jays2Kings
3529378aac Adding a progress spinner for first load of recents 2021-04-12 23:32:43 -04:00
Jays2Kings
2f09ac8cb5 Steps to optimize recents loading
especially those with insanely large libraries
2021-04-12 22:05:53 -04:00
Jays2Kings
2ec4db3c10 Option to save/share combined double pages 2021-04-12 14:49:43 -04:00
Jays2Kings
443887c89a Option to invert double pages
Closes #725
2021-04-12 13:48:10 -04:00
Jays2Kings
652c935062 Renamed the double page split methods
so they're not longing conflicting with upstream's page split
2021-04-12 13:33:36 -04:00
Jays2Kings
45c8bdafd3 Fix size of FAB
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-12 13:24:46 -04:00
Jays2Kings
a31beaaf66 Revert Part of 1%
Over committed on this
2021-04-12 13:22:43 -04:00
Jays2Kings
d4bb2ae938 The 1%
@CrepeTF _yoink_
2021-04-12 13:09:05 -04:00
Carlos
d5023b1c86
Added hot pink and lime (#724)
* add hot pink theme

* add lime theme

* removed unused method
2021-04-12 13:06:43 -04:00
Jays2Kings
e93627c9ec Fix main activity binding crash 2021-04-11 17:44:04 -04:00
Jays2Kings
1f93f82752 More crash fixes 2021-04-11 16:31:17 -04:00
Jays2Kings
56d7331aae Fix share button for crash logs 2021-04-11 16:23:02 -04:00
Jays2Kings
e83d944542 Fix DL Tutorial crashing 2021-04-11 16:22:49 -04:00
Jays2Kings
d651b896ba Fixed reader crashing for lower android versions
Gotta love not using Compat
2021-04-11 16:10:24 -04:00
Jays2Kings
40667d70b4 Fix Webtoon inversion 2021-04-11 15:09:49 -04:00
Jays2Kings
f069b530cf Fix bottom nav shadow in recents 2021-04-11 14:40:25 -04:00
Jays2Kings
9b078a9a4e Clean up resources 2021-04-11 14:36:34 -04:00
Jozef Hollý
13ebd44ab3
Weblate translations (#694)
Co-authored-by: Ahmadreza Karami <karamiar5@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Edgar Mejía <edgar13155@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Hajba Károly <karoly.hajba98@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jakub Fabijan <animatorzPolski@gmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Matyáš Caras <hernik27@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: P6N7L <nichitapospai@gmail.com>
Co-authored-by: Riztard Lanthorn <riyanluqman@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: TheLastMelody <swordofthefallen@hotmail.com>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: Yardi van Nimwegen <yardivn@live.nl>
Co-authored-by: Zimaster681 <zimaster681@protonmail.com>
Co-authored-by: panyann <jgrabowski@moneygram.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/bg/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/bn/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ca/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/el/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/eo/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fa/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/gl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hu/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ja/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ko/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/lv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ro/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/th/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/uk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/vi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hant/
Translation: Tachiyomi/Tachiyomi J2K

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ahmadreza Karami <karamiar5@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Edgar Mejía <edgar13155@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Hajba Károly <karoly.hajba98@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jakub Fabijan <animatorzPolski@gmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Matyáš Caras <hernik27@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: P6N7L <nichitapospai@gmail.com>
Co-authored-by: Riztard Lanthorn <riyanluqman@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: TheLastMelody <swordofthefallen@hotmail.com>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: Yardi van Nimwegen <yardivn@live.nl>
Co-authored-by: Zimaster681 <zimaster681@protonmail.com>
Co-authored-by: panyann <jgrabowski@moneygram.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
2021-04-11 14:17:48 -04:00
Jays2Kings
221a6abaf7 Fix overflow icon not being the right tint 2021-04-11 13:03:43 -04:00
Jays2Kings
dc0435c363 More ui fixes to recents, bottom nav padding 2021-04-11 13:00:30 -04:00
Jays2Kings
7d9c77f021 Reselecting a tab in browse scrolls to top 2021-04-11 12:40:13 -04:00
Jays2Kings
283808a865 Fix recents intent for latest chapters and history 2021-04-11 12:35:43 -04:00
Jays2Kings
780585caed Crash fixes in recents 2021-04-11 12:34:52 -04:00
Jays2Kings
48dae05980 Fix being able to make a blank category 2021-04-10 23:33:12 -04:00
Jays2Kings
e53bae4413 Added a fake shadow when downloads is expanded
so it is as it was before
2021-04-10 21:48:22 -04:00
Jays2Kings
dbf227f18e App theme summary updated to show both theme when follow system is set 2021-04-10 20:03:41 -04:00
Jays2Kings
9036fa8ca9 more lint cleanup??
lint kept unintenting it each build so not using block comments on it
2021-04-10 20:02:50 -04:00
Jays2Kings
4805e54b63 lint cleanup 2021-04-10 19:39:18 -04:00
Jays2Kings
c724a9e022 Fixing crashes in migration + rx bridge from upstream
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-10 19:36:46 -04:00
Jays2Kings
0a3d6bd8f5 adding compatToolTipText helper + using unused strings 2021-04-10 19:10:42 -04:00
Jays2Kings
074f41ca7e Fixes to unread badge color 2021-04-10 17:44:42 -04:00
Jays2Kings
84f21ebacc Fix warnings in ChapterSourceSync 2021-04-10 17:30:20 -04:00
Jays2Kings
a98a578af3 Adding Black 'n' Red theme
And I thought the dusk theme was edgy

and this is the one that actually closes #719
2021-04-10 17:13:38 -04:00
Jays2Kings
b7b8c61533 Adding 2 new themes
More color options with Midnight Dusk (From SY, jobobby04@4b3d92a050fb694de8b5001 )
Also adding a light version called Spring Blossom

This relates to #719 but the next commit will be the one for it

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
2021-04-10 17:04:15 -04:00
Jays2Kings
254e2a90dd More attr uses and color fixes 2021-04-10 16:56:10 -04:00
joseph619
db818f2e6f
Seearch by manga description in Library (#716) 2021-04-10 16:42:18 -04:00
Jays2Kings
8199ce0412 Actually commit the new string
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-10 16:27:29 -04:00
Jays2Kings
5ea0dda75e Splitting Security into a new section
Just like upstream (0 idea what commit its from I just know im late)

Also taking the description for secure screen because it was dumb of me to assume people know it blocks screenshots

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-10 16:26:59 -04:00
Jays2Kings
65548c95a2 More updates to theme color logic
Using attr in more places
2021-04-10 16:13:01 -04:00
Jays2Kings
bc5118d9cf More updates to theme item layout
"text" items are no longer as rounded
2021-04-10 16:03:11 -04:00
Jays2Kings
3b6afd2cb6 Fix light theme sometimes being wrong when switching themes 2021-04-10 15:04:59 -04:00
Jays2Kings
b158bc6222 More fixes to blue theme
Some of these have existed for a while.. guess no one really uses this theme
2021-04-10 14:43:46 -04:00
Jays2Kings
4ef4dc2677 Option to set Light/Dark Theme individually
Works "the exact same" as upstream, except ui and code is completely different

With this there's less theme items in the general settings

Also moved auto hide bottom nav to the first preference
2021-04-10 14:33:24 -04:00
Jays2Kings
e0c77abe1c Fix crash in Controller extensions 2021-04-10 03:07:17 -04:00
Jays2Kings
6b8e4eeb14 Preview of Themes in General settings 2021-04-10 02:14:33 -04:00
Jays2Kings
227769e5ec change library_category_header_item.xml to use app tint 2021-04-10 02:09:38 -04:00
Jays2Kings
83bcea8070 Fix settings controller rehighlighting option on theme change 2021-04-10 02:05:32 -04:00
Jays2Kings
8f55dcc859 Fix gestureDectector on main crashing sometimes 2021-04-10 02:04:35 -04:00
Jays2Kings
2a8049fb18 Also colorAccent for edgeeffect 2021-04-09 16:46:50 -04:00
Jays2Kings
b9bf495ed6 Using colorAccent attr instead of color in some places 2021-04-09 15:49:08 -04:00
Jays2Kings
f7dd1211da Random refactoring 2021-04-09 15:04:41 -04:00
Jays2Kings
c5785e9b6f Refactoring theme logic, using enum 2021-04-09 15:01:10 -04:00
Jays2Kings
ed1fb9de1a Fixes to blue themes 2021-04-09 13:07:20 -04:00
Jays2Kings
d3a1d8a8a9 Fix duplicate chapters in some sources
Fixes #714
2021-04-09 12:14:33 -04:00
Jays2Kings
3e7ad9dbd3 Fixed ext bottom sheet not being able to drag in some casesq
case being:
1. open sheet
2. scroll down
3. press back (collapses sheet)
4. push new screen
5. go back
2021-04-09 12:08:24 -04:00
Jays2Kings
203758dddd Fix extension source toggles not showing up for preferences without custom settings 2021-04-09 12:07:12 -04:00
Jays2Kings
801568950f Fix updates sorting in recents 2021-04-09 02:10:49 -04:00
Jays2Kings
720a78d968 Fixed initial scroll of categories on SetCategoriesSheet 2021-04-09 01:52:41 -04:00
Jays2Kings
0cfce71266 Replacing sublist with take where applicable
There's so many helper methods I just cant remember them all
2021-04-09 01:23:46 -04:00
Jays2Kings
248f729768 Added a much needed return to getting recents for endless
Also reduced retry count to 15
2021-04-09 01:17:31 -04:00
Jays2Kings
6bbf553798 Update build.gradle.kts 2021-04-08 23:41:46 -04:00
Jays2Kings
0ef97deb25 Some cleanup of dependencies 2021-04-08 23:20:54 -04:00
Jays2Kings
bbb435c294 Hopefully fixing issues with buttons in library filter sheet 2021-04-08 23:14:44 -04:00
Jays2Kings
3c08b81a94 Adding cutout options in reader settings
Also setting default to pad area, cuz people get confused
2021-04-08 23:07:21 -04:00
Jays2Kings
42d297c02f Fix tab bar hiding when tapping on resetting chapter history 2021-04-08 21:29:23 -04:00
Jays2Kings
ca07d3dbb3 Fix update sorting + swiping away items not updating in some cases
said case being swiping as read after another page of content loads
2021-04-08 20:47:58 -04:00
Jays2Kings
e0315dda41 Shift double pages button moved to bottom of the screen for tablets
Since that's quite a reach in the toolbar
2021-04-08 20:21:27 -04:00
Jays2Kings
fe6527a449 Setting reader page progress at max 95 for double pages
so the other 5 percent is used to combine the pages

Not really a noticeable change on a good device and small images, but just in case.
2021-04-08 19:54:36 -04:00
Jays2Kings
209cd05e46 Fix potential crash where selected index is out of range 2021-04-08 17:48:07 -04:00
Jays2Kings
8ace4ef557 Option to show downloads button only for downloaded chapters
or for either unread or downloaded chapters
2021-04-08 17:47:46 -04:00
Jays2Kings
837a46e0dd Adding some padding to recents display sheet 2021-04-08 17:00:41 -04:00
Jays2Kings
ccf249f91b Tapping on the same recents tab scrolls back to top 2021-04-08 16:57:31 -04:00
Jays2Kings
1cde93593b Recyclerview now smoothly scrolls to top when pressing the toolbar
Instead of snapping, it snaps to a few items before it, then smoothly scrolls up

Inspired by whatever beta reddit sync is doing
2021-04-08 16:57:18 -04:00
Jays2Kings
a5585f1d8c Shrinking tab highlight indicator just a tad 2021-04-08 15:48:53 -04:00
Jays2Kings
be88e53dc9 Fixed tab indicator not showing
forgot to add the size into the drawable after I removed it from the styles oops
2021-04-08 15:48:38 -04:00
Jays2Kings
d13c551d9d Fixed temp selection in recents not sticking on activity reload 2021-04-08 15:48:10 -04:00
Jays2Kings
d5710bfd10 Fixing logic for fetching updated manga covers
And for shortcut images
2021-04-08 15:40:41 -04:00
Jays2Kings
93d2145c43 Fix library dropdown arrow showing for a split second for those with 0 categories
But please use categories anyway
2021-04-08 00:42:26 -04:00
Jays2Kings
2c4ddcd555 Adding empty view for recents 2021-04-08 00:30:20 -04:00
Jays2Kings
c5e922334c exclude LocalSource in last used sources
Also fixing shortcuts for missing covers
Also no longer updating shortcuts after exiting reader
2021-04-07 23:00:40 -04:00
Jays2Kings
4ea72c8963 Fix automatic page layout not putting the current page as the first 2021-04-07 22:18:07 -04:00
Jays2Kings
01536221fb Adding Recent sources as a dynamic shortcut
Also fixed searchactivity centering the toolbar title
2021-04-07 20:36:57 -04:00
Jays2Kings
e893326c1f Fix sub intents setting last tab to library 2021-04-07 18:46:18 -04:00
Jays2Kings
1fe46ef475 Fix back closing the app when dl/extensions sheet is still expanding up 2021-04-07 18:29:31 -04:00
Jays2Kings
04ab0d37ea Making the recents selector sticky with the app bar
thankfully i've already done logic for the view to pad by  the toolbar + insets instead of just the appbar height.
2021-04-07 18:19:37 -04:00
Jays2Kings
9fbe223970 Fixes for searching with a query in recents 2021-04-07 17:48:37 -04:00
Jays2Kings
6c4936ac3a Using eslastic animation for highlight tabs 2021-04-07 17:47:43 -04:00
Jays2Kings
e554fd3694 Fix recents download button not showing in some only unread cases 2021-04-07 15:07:58 -04:00
Jays2Kings
b6d23ce9e0 Updated colors of recents selector 2021-04-07 15:07:30 -04:00
Jays2Kings
42cecf0bb2 Fix double page shifting when there's 2 full pages
I tried to fix it all in one pr, but these things happen
2021-04-07 04:16:59 -04:00
Jays2Kings
212386f3cc Fix a few more endless loading issues 2021-04-07 04:01:12 -04:00
Jays2Kings
40a9b2c421 Fixes to theme changes, and other page loading in recents 2021-04-07 03:50:25 -04:00
Jays2Kings
3c10e7975b Remocing ripple on recents header selection
and showing full white when selected
2021-04-07 02:48:13 -04:00
Jays2Kings
962877ff08 Fix recents history not showing next chapter 2021-04-07 02:47:50 -04:00
arkon
02e483f853 Align filter spinners 2021-04-07 01:42:55 -04:00
Jays2Kings
74826bc51b Add Reader Page Preload option
Based on jobobby04@68bfba4

Closes #544

Co-Authored-By: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2021-04-07 01:41:05 -04:00
Jays2Kings
9eaea6507d Reader Smart BG no longer does gradient backgrounds in landscape 2021-04-07 00:34:36 -04:00
Jays2Kings
c68053d74c Adding dynamic shortcuts populated with recent manga
using the logic for recents to populate this list

To Carlos: I'm sorry I couldn't help it
2021-04-07 00:28:14 -04:00
Jays2Kings
53c04c7084 Cleanup History/Updates Controller 2021-04-06 22:20:08 -04:00
Jays2Kings
f264a69626 Refactoring RecentMangaAdapter + removing recents header while searching 2021-04-06 21:51:50 -04:00
Jays2Kings
0545780ae9 Recents Options
*Show Downloads on all, unread, or none of the items
*Show manga title first
*Show/Hide Reset History Button
*Show read chapters in Grouped/All
2021-04-06 21:36:30 -04:00
Jays2Kings
3492117cb1 Fix material spinner view popup not changing the selection for enum prefs 2021-04-06 21:24:34 -04:00
Jays2Kings
3956a4b2dc Fix Recent manga button layout spacing 2021-04-06 21:23:29 -04:00
Jays2Kings
ddd2ebf286 Fix warnings in manga list item xml 2021-04-06 20:55:50 -04:00
Jays2Kings
bb31a16190 Add button to remove reading history in recents
As an alternative to long press (which in another commit can be removed)
2021-04-06 18:14:34 -04:00
Jays2Kings
0c66d3b8b6 UI Revamp of Recents
*Now Endless scrolling in ungrouped/history/updates
*Removed going to history/updates controller in grouped (will later be removed entirely)
*Always showing a header to switch modes, instead of using a filter button (which will later be replaced
2021-04-06 17:06:22 -04:00
Jays2Kings
2d10680fd9 Using set categories sheet to bulk move in library 2021-04-06 12:25:56 -04:00
Jays2Kings
5868ca3197 Fixes to bottom sheet in browse
same scroll behavior as the set categories sheet: it will not collapse the recycler when reaching the top of the list. Only when swiping down after being at the top of the list will it be able to scroll away

Also fixing appbar elevation when returning to browse controller
2021-04-05 23:10:42 -04:00
Jays2Kings
f724f66e66 Only hide start readin if badge is set to off
No longer hiding if unread badge is off
2021-04-05 22:27:32 -04:00
Jays2Kings
4ece78fc20 Fixed #693
Which because i'm a dum dum implentmented it different from upstream

...but this should also make swiping to the next chapter match the reader mode
2021-04-05 22:21:48 -04:00
Jays2Kings
b447b61a3e Add toast when theres no next/previous chapter 2021-04-05 22:15:52 -04:00
Jays2Kings
2637bcffa5 Fix glitchy animation when first showing reader nav bar 2021-04-05 21:55:24 -04:00
Jays2Kings
6edc15683e Fix RGB filter sliders being disabled on start 2021-04-05 21:52:58 -04:00
Jays2Kings
8c6f3dc14e Fix nav overlay colors 2021-04-05 21:52:37 -04:00
Jays2Kings
7fa8162e5b Separating "Check for updates" button + fixing about library + more about sites
Twitter/Extensions added from upstream

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-05 21:52:10 -04:00
Jays2Kings
0e62516777 Changing Add to/Change in library dialog to a bottom sheet
I just don't get tired of them.

This also has a button to add a new category

Also updating the snackbar when adding to library to show a "change" button to update the categories. In case you have a default category set
2021-04-05 21:07:59 -04:00
Jays2Kings
6d6766a86a
Double pages (#699)
* Start of dual pages

* Fixes to dual pages + added button to shift

Next to add a button to get out of this nightmare

* Adding preference to truly support on and off

* Set double pages correctly for L2R reading mode

* Hide shift double page in single page mode

also fix shift into or out of double pages not going to right page

* Shift page back on loading a new chapter

* Fix back shift when reaching near end of chapter with shifted pages

* Fix chapters not being marked as read when last pages are doubled

* more fixes

* change menu icon and verbage

* Fixed going to previous/next chapter when turning on/off double shift sometimes

* Fix shift icon for double page in R2L

* Adding double page as option in reader sheet

* Adding saving/share/setting cover for second page

* Add back page indicator

* RTL language support for current page in double mode

* Changing to double page always moves the current page to first slot

Also fix bad snap back from single to double or vice versa

* Reset shift icon when going to a new chapter

* Add Double pages to reader settings

* Add padding to current/total pages text

since it gets pretty long with double digits in double pages mode

* Option for automatic single/double layout based on orientation

With option to change mid read

* More fixes

* Lotta reworking to make this work

Lotta reworking to make this work

Seriously a lot of reworking to make this work

* Cleanup + Some documentation

Because I won't "know my own code"

I genuinely do not know what I just coded

* Swapped around icons for double page in chapter sheet bar

Since it was confusing even me

* Fix shifting not updating the ui, nor shifting back to the right page

* Fix changing chapters

* Fixed Prev Chapter transition page jumping back 1

* Fixed progress spinner for single page loading

* Fix the case of a second page shifting for full width while double shift is on

It would unshift the pages in this case, requiring another shift back

If this sounds confusing or complex, it's because it is

Also clean up

* Update Initial dual page bg to match reader bg theme

* More cleanup

* More cleanup + docs + refactoring

* String update

* more cleanup

* Update toolbar ripple based if the menu item is visible

* Fix more issues with shifting + next chapter's first page being a double

* Cleanup ChapterTransision Checks

* Always run shifting logic

* Even more optimizing

which hopefully didnt break something (prolly did)

(spoilers it did I had to undo this local commit)
(more spoilers it still will break again)

* Fix Retry in double mode

* Set gifs as fullpages

* Fix going from automatic to single/double page layout

* More cleanup, more comments

* Fix changing page layout when on a transition page for a manga with a single chapter

The edge cases you can find....man

* Restore shifted pages on activity recrreation

* Adding a "beta" tag to page layout

IMO it's absolutely solid and release candidate ready, but you can get away with so much by calling something a "beta" or an "alpha"
2021-04-05 14:55:22 -04:00
Jays2Kings
4e4f9b339f Some cleanup in the downloads cache and disk util 2021-04-04 12:55:37 -04:00
Jays2Kings
cb025624eb Fix blank scanlators showing a dot in manga details 2021-04-04 12:54:35 -04:00
Jays2Kings
1f707141a6 Fix settings tracking crash 2021-04-02 21:44:01 -04:00
Jays2Kings
c43d5f01fa Collaspe chapter sheet when touching outside of chapter sheet
Which fixes the wonky logic when switching chapters in it
2021-04-02 00:32:29 -04:00
Jays2Kings
008753e7e4 Fix being able to bookmark a chapter by tapping on the invisible area under the reader bar
As in when the chapter sheet is collapsed
2021-04-01 22:58:30 -04:00
Jays2Kings
f74fe7ecbf Removing logic for dragging chapter nav with chapter sheet
Swiping up still expands it but trying to expand with it was too hacky and wonky
2021-04-01 16:15:33 -04:00
Jays2Kings
004b596671 Fix Browse sources padding 2021-03-31 17:36:52 -04:00
Jays2Kings
a830e0ccee fix tapping on ext settings/install 2021-03-31 17:07:41 -04:00
Jays2Kings
7be208d630 Fix padding for exts/migration sheet 2021-03-31 16:37:55 -04:00
Jays2Kings
214a4d2e5a Removing progress dialog in reader
still needs some adjustments
2021-03-31 16:31:07 -04:00
Jays2Kings
241280ed02 Update ReaderNavGestureDetector.kt 2021-03-31 16:29:15 -04:00
Jays2Kings
965af17a2a Fix browse scrolling back to top
same with extensions + migrations
2021-03-31 16:28:53 -04:00
Jays2Kings
f0fb7b3d49 Fix downloads scroll issue at the bottom
Fixes #696
2021-03-31 14:06:15 -04:00
Jays2Kings
48d04e9008 One last fix for the reader nav 2021-03-31 02:16:03 -04:00
Jays2Kings
23702bfd66 More fixes to the reader nav 2021-03-31 02:12:37 -04:00
Jays2Kings
a6a2ef6399 More updates to move the chapter bar 2021-03-30 23:32:28 -04:00
Jays2Kings
363047a2a2 Clean up ReaderChapterSheet 2021-03-30 23:00:11 -04:00
Jays2Kings
645f06c901 Reader seekbar now moves with the chapter bottom sheet 2021-03-30 22:59:06 -04:00
Jays2Kings
d0738f5b00 Fix n/p chapters strings + action for n/p chapter 2021-03-30 22:51:38 -04:00
Jays2Kings
4999231dfc Fix scroll views for tabbed bottom sheets 2021-03-30 14:24:03 -04:00
Jays2Kings
e28a12161a Allow dns_over_https to be translatable 2021-03-30 14:23:50 -04:00
Jays2Kings
538ad09754 Add button to collapse reader filters
Also adding gesture ignoring for custom brightness since its extremely close to the nav bar
2021-03-30 14:23:22 -04:00
Jays2Kings
91a5274660 Material Spinner view using check on the left side
Like a yee old build of tachij2k for category sorting
Or the menu for sorting your library is google photos
2021-03-30 12:43:32 -04:00
Jays2Kings
7796243017 Fix brightness reset when leaving filter tab 2021-03-30 02:18:32 -04:00
Jays2Kings
a1e69e7194 Adding back long tap reader sheet
Hope you missed it
2021-03-30 02:16:19 -04:00
Jays2Kings
2551024b20 Fixed #697 2021-03-30 02:14:40 -04:00
Jays2Kings
bb26e3cc92 Fix #686 2021-03-30 02:11:32 -04:00
Jays2Kings
b7b91f4230 Move Reader settings button to bottom settings sheet 2021-03-30 02:03:01 -04:00
Jays2Kings
21343225e3 Split Reader Bar
Taken from Neko

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-03-30 01:15:38 -04:00
Jays2Kings
deb24021a8 aaaand forgot to commit the gradle changes 2021-03-29 23:51:24 -04:00
Jays2Kings
abea51c805 Removing kotlin extensions + adding jetbrains kotlin
also bumping up to kotlin 1.4.20 and using jsetbrains kotlin for parcelize (needed for mass migration)

With this we can close #684 because we are TRULY finished
2021-03-29 23:50:46 -04:00
Jays2Kings
419e4832ea Binding Migration Controllers
with this, we are DONE with synthetic.

I am free.....

after one last commit
2021-03-29 23:30:31 -04:00
Jays2Kings
46287f88a1 Binding Sub Recent Controller
Actually not as bad, but still might remove one day
2021-03-29 23:29:53 -04:00
Jays2Kings
bd136696b0 Binding Remaining Search Controllers and ExtensionDetailsController 2021-03-29 23:24:09 -04:00
Jays2Kings
811d7d3120 Binding BrowseSourceController 2021-03-29 23:19:27 -04:00
Jays2Kings
7772ecf897 Binding LoginDialogPreference 2021-03-29 23:15:16 -04:00
Jays2Kings
d4addb2e13 Binding WebViewActivity + LoginPreference
when does this end
2021-03-29 23:13:12 -04:00
Jays2Kings
ef737dd40b Binding Empty View + Remove DialogCheckboxView 2021-03-29 23:07:36 -04:00
Jays2Kings
89f4ad393b Binding Holders
I'm in absolute pain
2021-03-29 23:07:05 -04:00