Commit Graph

3121 Commits

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