Commit Graph

1237 Commits

Author SHA1 Message Date
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
d651b896ba Fixed reader crashing for lower android versions
Gotta love not using Compat
2021-04-11 16:10:24 -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
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
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
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
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
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
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
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
ed1fb9de1a Fixes to blue themes 2021-04-09 13:07:20 -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
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
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
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
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
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
6c4936ac3a Using eslastic animation for highlight tabs 2021-04-07 17:47:43 -04:00
Jays2Kings
b6d23ce9e0 Updated colors of recents selector 2021-04-07 15:07:30 -04:00
Jays2Kings
3c10e7975b Remocing ripple on recents header selection
and showing full white when selected
2021-04-07 02:48:13 -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
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
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
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
8c6f3dc14e Fix nav overlay colors 2021-04-05 21:52:37 -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
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
004b596671 Fix Browse sources padding 2021-03-31 17:36:52 -04:00
Jays2Kings
214a4d2e5a Removing progress dialog in reader
still needs some adjustments
2021-03-31 16:31:07 -04:00