Commit Graph

3157 Commits

Author SHA1 Message Date
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