Commit Graph

3339 Commits

Author SHA1 Message Date
Jays2Kings
b3f42659ce New chapters for manga from deeplinks now have a date fetched saved 2021-05-11 15:15:37 -04:00
Jays2Kings
5727b1541a remove mangadex intent temporality
since the frontend could return at a moments notice, better to disable it now before users ask why its broken
2021-05-11 00:20:41 -04:00
Jays2Kings
63df493cb4 More fixes to text selection in manga details
Thought about using a dialog popup to select text but it's just so unfriendly I'll stick to the bugs

Once again leave it to google to not fix bugs https://issuetracker.google.com/issues/37095917
2021-05-10 23:42:49 -04:00
Jays2Kings
cb7159d22e adding doOnError for pager holder to close stream as well
just to be safe
2021-05-10 19:42:04 -04:00
Jays2Kings
154c6d0320 Fallback to single page mode for images that cant be decoded in double page layout 2021-05-10 18:59:55 -04:00
Jays2Kings
31980abf28 fix starting top padding of recyclers
doesn't change anything really but still
2021-05-10 17:33:15 -04:00
Jays2Kings
0099dd5523 Fix global search scrolling up one section after coming from manga details 2021-05-10 17:32:27 -04:00
Jays2Kings
c020d4d45d Fix filter sheet bottom buttons when keyboard was previously showing 2021-05-10 15:06:27 -04:00
Jays2Kings
8ead904def Add up arrow eye icons for those who sort by ascending chapters 2021-05-10 14:23:28 -04:00
Jays2Kings
4c06966870 Set newly tracked manga as "Plan to read" if nothing has been read yet
and it'll be set automatically to reading status when read in the reader
2021-05-10 13:58:33 -04:00
Jays2Kings
c884963672 Fixed Anilist start/end date not being set when starting to read/completing manga 2021-05-10 13:57:24 -04:00
Jays2Kings
c06c93a002 Added Cubari as a deeplink target
Also in my findings setting a host with a starting wildcard does not work in android 12 dev preview (you have to enabled links in a12, and links with a starting wildcard do not show)

I'll open an issue for cubari extension later when I do some more digging
2021-05-09 18:50:59 -04:00
Jays2Kings
33e54609cd Removed jaiminisbox's from delegate source list as well 2021-05-09 18:46:51 -04:00
Jays2Kings
8df63bd384 More prevention fixes to make sure db doesn't add dup chapters when deeplinked 2021-05-09 18:46:22 -04:00
Jays2Kings
dcf3f56a05 Fix refreshing in manga details not fixing corrupt covers 2021-05-09 18:45:55 -04:00
Jays2Kings
59f27c494d Remove jaiminisbox in manifest
removed the delegate but never this
2021-05-09 18:32:30 -04:00
Jays2Kings
22f2ef18b1 Using an enum to represent download states
no need for the value int in upsteam, since enums can compare already

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-05-09 14:21:01 -04:00
Jays2Kings
8cadb283f8 Fix snack for updating library being behind the nav bar sometimes 2021-05-09 13:52:11 -04:00
Jays2Kings
5927ca6976 Fixes to the download status/fab/errors in ui 2021-05-09 13:51:55 -04:00
Jays2Kings
e669f4eba5 Move down arrow for eye previous chapters drawables a bit lower 2021-05-09 00:14:21 -04:00
Jays2Kings
f7baf124a6 Fix saved images paths 2021-05-09 00:05:04 -04:00
Jays2Kings
13e50d35f1 Updating to androidx of work-runtime 2021-05-08 23:41:53 -04:00
Jays2Kings
b8af6e0049 Instantiate extension preferences with proper datastore earlier
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-05-08 23:15:09 -04:00
Jays2Kings
4999db33f4 Tablet UI for manga details
It returns for some reason... even I'm trying to figure out why

enjoy my 8 tablet users

Also kinda fix the view scrolling down a bit when tapping on the expanded summary when the summary is extremely long
2021-05-08 22:48:43 -04:00
Jays2Kings
0c2262ccba Fix warning about using layout_constraintWidth_default 2021-05-08 22:38:25 -04:00
Jays2Kings
2f192f4c4d Remove option to disabled auto checks for updates 2021-05-08 16:12:49 -04:00
Jays2Kings
d9fcf8f3f7 Option to turn off app shortcuts
Closes #795
2021-05-08 16:09:14 -04:00
Jays2Kings
ddcd4a51bf Showing a snack item when updating library from recents
so you can now cancel an update from recents as well
2021-05-08 15:56:05 -04:00
Jays2Kings
b95009052f Using a download fab to play/pause instead of menu item
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-05-08 15:55:27 -04:00
Jays2Kings
a6ff4f7518 Add color accent to dl notifications 2021-05-08 15:53:13 -04:00
Jays2Kings
abb69921a2 Option to cancel all downloads for a series in dl/queue 2021-05-08 15:22:39 -04:00
Jays2Kings
f1c624fe16 Move io tasks for removing library entries to io thread
relates to #797 but tbd if it fixes it
2021-05-08 15:15:13 -04:00
Jays2Kings
3ec46f958d Mark range of chapters as read/unread + moved to bottom sheet 2021-05-08 15:09:49 -04:00
Jays2Kings
50ca3fa0c7 Fix "not started" filter now showing as applied on app launch 2021-05-08 13:48:55 -04:00
Jays2Kings
f6f236e1d9 Fix floating toolbar showing on some screens while bottom sheet is collapsing 2021-05-07 23:16:51 -04:00
Jays2Kings
090e9ee005 Fully extend search view, hiding menu items 2021-05-07 23:16:29 -04:00
Jays2Kings
491915aa22 Fix same ids issue in library 2021-05-06 17:56:00 -04:00
Jays2Kings
db5e6f9216 Fix dot seperator showing in reader chapters list when theres no scanlator 2021-05-06 17:16:33 -04:00
Jays2Kings
c43b36768c fix titleTextAppearance typo in base toolbar 2021-05-06 16:14:52 -04:00
Jays2Kings
6f18686e08 Hide iconified search icon and underline
Not that I had this problem but still

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
2021-05-06 16:14:31 -04:00
Jays2Kings
091cc0acb2 Fixed #790
Old functionality returns on demand
2021-05-06 15:59:45 -04:00
Jays2Kings
3ad24840a3 Fix coil key for manga with same thumbnail
Since we're using the same thumbnail url for all md entries right now
2021-05-06 15:34:02 -04:00
Jays2Kings
627ea5fe33 Fixed #788 2021-05-06 15:31:29 -04:00
Jays2Kings
03b305ed8f Fixed crash in some cases when opening reader from recents
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-05-06 15:30:41 -04:00
Jays2Kings
e4b5f084a9 Fixed #789
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-05-06 15:29:58 -04:00
Jays2Kings
a503d95bec Fixes for setting custom cover 2021-05-03 17:49:33 -04:00
Jays2Kings
c49584d003 Fix background color of browse/recents' bottom sheet 2021-05-03 16:18:09 -04:00
Jays2Kings
5725fb1c58 Fix search toolbar show on latest updates in source 2021-05-03 16:01:01 -04:00
Jays2Kings
970df326e8 Highlighting part of library text when searching in library
Only for comfort grid and list view

Also show artist in comfort gird if it can fit
2021-05-03 15:03:38 -04:00
Jays2Kings
f1a6c9eea3 Fix fil strings 2021-05-03 13:54:44 -04:00
Jays2Kings
99e9a53b63
Weblate translations (#783)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyaiya <hipsnafoha@outlook.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ja/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ru/
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: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyaiya <hipsnafoha@outlook.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
2021-05-03 13:52:47 -04:00
Jays2Kings
799ac037e6 Fix hideStartReadingButton setting not updating in real time 2021-05-03 13:37:21 -04:00
Jays2Kings
449b33d731 Fixed #781 2021-05-03 13:25:04 -04:00
Jays2Kings
477f5cd856 Optimize searching in library 2021-05-03 13:21:18 -04:00
Jays2Kings
6dc79ed9e0 Fixed #780 2021-05-03 13:20:52 -04:00
Jays2Kings
534d503ce9 Fix defaults for grouping types of recents 2021-05-02 14:21:55 -04:00
Jays2Kings
7e6eda3276
Weblate translations (#766)
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Albedo <Illiator27@gmail.com>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Allen Chang <allen.ty.chang@gmail.com>
Co-authored-by: Alperen Arslan <slyvioborin@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: Csíkos Martin Nándor <csikos.martin17@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Farhan <f.t.nayeem014@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: Luka Paun <croluxgame@gmail.com>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Marcos Souza <marcossouzacg2004@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Paulo Pinho <kebrus@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shiratori <kuromaruhatake@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Thu Htoo San <kokhantyangon@gmail.com>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: waitingmoon <takeda.s1027@gmail.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/my/
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: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Albedo <Illiator27@gmail.com>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Allen Chang <allen.ty.chang@gmail.com>
Co-authored-by: Alperen Arslan <slyvioborin@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: Csíkos Martin Nándor <csikos.martin17@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Farhan <f.t.nayeem014@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: Luka Paun <croluxgame@gmail.com>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Marcos Souza <marcossouzacg2004@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Paulo Pinho <kebrus@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shiratori <kuromaruhatake@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Thu Htoo San <kokhantyangon@gmail.com>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
2021-05-02 13:59:08 -04:00
Jays2Kings
8163af217e Option to search series type in library
Works like a tag so "-Manga" for example excludes manga
2021-05-01 22:51:58 -04:00
Jays2Kings
1ab54487d1 Fix wrongful elevation on app config change for floating toolbars 2021-05-01 22:11:23 -04:00
Jays2Kings
dbc3d335a0 Upping to conductor v3.0.0
Had to fork off conductor-support-preference to up that to 3.0.0 as well.

@arkon if you want I can submit a pr for main/conductor-support-preference for this but I'm just validating all is fine first (also I dont need the viepager library so it's easier for me to it), still double checking if it's all good first anyway
2021-05-01 21:52:55 -04:00
Jays2Kings
59c98f03d5 Fix manga covers from browse or extension intents sometimes not showing 2021-04-30 23:09:35 -04:00
Jays2Kings
ee42eb347f Updated to latest coil library 2021-04-30 23:00:54 -04:00
Jays2Kings
86259b8ec3 renaming id in mangalisttiem 2021-04-30 15:50:04 -04:00
Jays2Kings
7605e462df hopefully fixing crashes with backdrop in library 2021-04-30 15:48:24 -04:00
Jays2Kings
4f1c309dbd Added a ripple effect when tapping on the search toolbar 2021-04-29 19:48:22 -04:00
Jays2Kings
64feadcd66 Adding a category name for delete removed chapters settings
"Automatic removal"
2021-04-29 01:46:46 -04:00
Jays2Kings
e1e8202192 Changes to local source from upstream
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-29 01:00:51 -04:00
Jays2Kings
0885f436e4 Switch rar page loader to new(er) library 2021-04-29 00:36:23 -04:00
arkon
4d2d41412a Make manga and chapter folder name searching case insensitive 2021-04-29 00:33:58 -04:00
arkon
f9a724ee7b Case insensitive source directory search
+ adding junrar library
2021-04-29 00:32:01 -04:00
Jays2Kings
eb88d4e94f changing dragging behavior of bottom sheets to be like iOS
ie: if at the top of the scrollview it can be dragged down, even if you scroll a bit down then up without letting go
2021-04-29 00:22:49 -04:00
Jays2Kings
b0948cf0a7 Adjustments to download button colors 2021-04-29 00:08:29 -04:00
Jays2Kings
44c2337e3d Fix toolbar elevation issues with theme switching 2021-04-29 00:08:13 -04:00
Jays2Kings
f5aafebc91 Manga app shortcuts now return back main activity on up button press 2021-04-28 16:38:13 -04:00
Jays2Kings
a30e4ebcbc Fix tint of reader back button 2021-04-28 16:36:43 -04:00
Jays2Kings
975bd43ea1 clean up toolbar dropdown arrow logic
since its no longer used
2021-04-28 16:19:31 -04:00
Jays2Kings
b6de6a77f0 Fix backdrop showing for when library has one category 2021-04-28 16:15:32 -04:00
Jays2Kings
7f72eabfc3 Search suggestions in library
Will automatically turn on in 24 hours
Then every 2 hours new suggestions to search for will show
Long pressing on it will automatically search that suggestion

There's an added option to turn it off, or turn it on earlier as well
2021-04-28 16:10:23 -04:00
Jays2Kings
62c4ee22a4 Fix NSFW sources showing in extensions list while setting is off 2021-04-28 14:48:48 -04:00
Jays2Kings
fcb9445f02 Scrolling a recycler now collapses the keyboard 2021-04-28 04:13:37 -04:00
Jays2Kings
bd9069b585 Changing presenterScope to lateinit 2021-04-28 04:01:37 -04:00
Jays2Kings
43b42f8d54 Change string chop method default to use smaller ... instead 2021-04-28 04:01:05 -04:00
Jays2Kings
28f222a5e6 Presenter is now responsible for the first getLIbrary call 2021-04-28 04:00:16 -04:00
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