Commit graph

3766 commits

Author SHA1 Message Date
Jays2Kings
7fe8baae8c browse source fab now shows on top of keyboard on android 10 and below
to match A11+
2021-10-07 23:48:20 -04:00
Jays2Kings
dbac0aa48d Fixed reader menu quickly disappearing when first opening 2021-10-07 23:47:56 -04:00
Jays2Kings
0816b62721 Fix webview warnings 2021-10-07 23:44:33 -04:00
Jays2Kings
8ba2e1207a Update colorPrimaryVariant for dark themes 2021-10-07 22:44:05 -04:00
Jays2Kings
886e06374b Fix textAppearance for tristatecheckbox in dialogs
So it matches other dialogs in M3
2021-10-07 18:16:15 -04:00
Jays2Kings
d1f521e0c5 light refactoring/cleanup in few classes 2021-10-07 17:48:28 -04:00
Jays2Kings
ab8f019460 Fix warnings in MangaDetailsController 2021-10-07 17:35:18 -04:00
Jays2Kings
818bf2f1da Fix warnings in Library controller 2021-10-07 17:35:08 -04:00
Jays2Kings
e5ab5c220e Use insetsCompat for Controller.scrollViewWith callback 2021-10-07 17:08:36 -04:00
Jays2Kings
0e9d105b1d Fix warnings in ControllerExtensions 2021-10-07 16:52:23 -04:00
Jays2Kings
03b18b3d4f using start/end padding for manga details outline buttons 2021-10-07 16:29:24 -04:00
Jays2Kings
ae278f3da2 Fixed fake bottom bar showing up too tall when moving to new controller while library filter sheet is expanded 2021-10-07 16:28:57 -04:00
Jays2Kings
2b014931c4 Removed all warnings in MainActivity 2021-10-07 00:00:00 -04:00
Jays2Kings
6ead02b761 removed final uses of elevation
Realized elevation still happens on older android devices so goodbye to that
2021-10-06 23:56:17 -04:00
Jays2Kings
50859c404e Filter scanlator group dialog now disabled the filter button if all scanlators are selected
was already handled in code but now its visually handled too
2021-10-06 23:34:16 -04:00
FlaminSarge
f3f906ebf0 For library update error log, group errors by error string, and then sort the resulting list by source (#5586)
Format is
```
! Error
  # Source
    - Manga
```
2021-10-06 22:52:16 -04:00
Seishirou101
ef41c8d90e
adds text to show scanlators are hidden on manga details (#1025)
* add filtered text

* remove hidden
2021-10-06 19:08:16 -04:00
Jays2Kings
c6a9cb32ea Replace INVERSED/UNDETERMINATE for IGNORE in TriStateCheckBox 2021-10-06 00:41:11 -04:00
Jays2Kings
4f2bf33b21 Remove setting to disable update error notifications and split out notification channel
Users can exclude things from updating if needed, or disable the notification channel from system settings.

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-10-06 00:24:41 -04:00
Jays2Kings
087c00ab22 Update category hopper to be more like Material 3 2021-10-05 20:09:12 -04:00
Jays2Kings
1f304ec8a9 Fixing login/out strings + adguard key 2021-10-05 18:26:40 -04:00
Jays2Kings
469fce0e8c Update slider_tick_inactive.xml 2021-10-05 14:38:47 -04:00
Jays2Kings
4f0b96cdfc update constraintlayout to 2.1.1 2021-10-05 14:38:42 -04:00
Jays2Kings
58aebc60ad fixed webtoon prefs showing in paged settings list 2021-10-05 14:22:45 -04:00
Jays2Kings
39c18d9876 remove all uses of "TextAppearance.Regular" 2021-10-05 14:04:31 -04:00
Jays2Kings
d0aa33c5df fix start of manga details in light blue theme 2021-10-04 23:23:59 -04:00
Jays2Kings
772201cd37 J2K Icon update
goodbye page flip i knew yee well
2021-10-04 21:47:54 -04:00
Jays2Kings
aefed46059 Add support for cont. vertical margins while splitting double pages 2021-10-04 20:18:27 -04:00
Jays2Kings
453c28bd6b Split pages for webtoons
Closes #1017

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>
Co-Authored-By: Shiranui <32921531+uknfire@users.noreply.github.com>
2021-10-04 20:11:28 -04:00
Jays2Kings
bd8ad93f4b Fixed haptic feedback not working for webtoon mode 2021-10-04 20:11:27 -04:00
Jays2Kings
45d2ac75bf fixes to bottom sheet heights 2021-10-04 17:57:15 -04:00
Jays2Kings
8d61470917 Fixing to dragging in library
closes #1008
2021-10-04 17:57:08 -04:00
Jays2Kings
9b0e0fcfe6
Material 3 (#988)
* use real material dialogs

* Fixes for tristate preference

* use material 1.5.0-alpha03

* Material 3 start

* More Material 3 changes

Updates to color primary for many themes
Using material dialog in more places
Instead of toolbar elevation, changing the color of the toolbar instead

* fix toolbar bg coloring

* More changes and fixes

fixed dialog width when using forced side nav

* update more color primaries

* Fix toolbar title alpha

* more updates

Updates to many fonts (still more to come)
Update to tracker dialogs to true material

* More dialogs updated

Using extensions for some old functionality in material dialog library

* Removed final use of mat dialogs

* Fully removed afollestad.material-dialogs

you will be missed tbh

* fix overflow width back to normal + bg color change for it

* Fix RTL for reader slider

* Fix RTL in general

This way I can revert back the slider changes.

thanks @arkon

* Android 12/SDK 31 Target

* restore ManageCategoryDialog's postive button action

no longer dismisses if there's errors with something

* Use disable items helper in MultiListMatPreference

* Change statelist and ripple for update button in ext page

* Update runtime-ktx and appcompat to alpha for A12 Target

* Removing hyperion as its no longer compatible with A12 target

Sorry Carlos, I never really never used it, even though its neat

Maybe if the library gets an update, but it hasn't had once in Jan

* Fix not being able to install extensions under A12 target

* Fixed status bar color from going back to extensions list from ext settings

* modernizing the action mode toolbar

* tinting overlay background with a hint of secondary

* Remove use of BuildCompat

since `isAtLeastS` will be deprecated soon enough

* Change startInstalling method in updateservice to only run on A12

* Revert dialog behavior for which category to update on swipe refresh

* Adding primaryInverse

used for snackbar action + reader progress when using a different background color from theme (i.e. yin theme with a white reader background)

* More subtle coloring of the manga details backdrop

theres still a tint but its next to unnoticeable now

* Remove colorDownloadBadge for colorTertiary

* Using more rounded indicator for tab chips

* removed randomly extra line in styles

* remove suggested_date_ string since no longer used

* Update chucker version to 3.5.2

to support a12 target

* No longer coloring the highlighted bottom nav text

* many fixes to preference dialogs

along with making the tri state pref match other choice pref dialogs

* Switch tabs style to use M3

No real change as far as i can see

* setting expedited for job

as needed for bigger job in A12

* Changing active tab colors again

changing to match other google apps (gmail, phone, photos) instead of trying to match other google apps (clock)

Also upping the brightness of colorSecondaryVariant for many themes

* Reverting back to target a11

Not worth trying to fix a12 issues with background jobs

* More appropriate colors for colorSecondaryVariant in light themes

* more updates to the active tab colors

* Using sliders + switch material for the reader color filters

Also updating the tints of switches

Will fix #1004

* Changing library badge style + increasing size of grid items

Library badge is now inside the grid, so less padding is needed for the grid item, thus its bigger now
Since its bigger now, the search toolbar is now wider to match its width

* Fix incognito badge not showing until title is showing on manga details

* revert work runtime to 2.6.0

* fix library unread badge for list mode

* fix text colors for download tooltips

* Material3 popup in webview activity

* removing more uses of MaterialComponents for M3

* update header card always show category name

* fix missing text appearance

* Cleanup SearchController

* clean up SwitchPreferenceCategory

* optimize imports of SearchController

* Use SwitchPreferenceCompat in SettingsExtensionsController

* Use of material 3 buttons in manga details library/tracking

* Option to theme manga details page buttons based on the cover

Backdrop tint color is now based on the covers dominant cover instead of the vibrant color, that is now used for the buttons

Also prefetching those colors when loading the covers from other screens

* removing stroke on the cover in details

* improvements to the navigation icon + blue theme improvements

+ styling the swipe refresh to the magna theme

* general cleanup/fixes when it comes to light status/nav bar

also general fixes to webview theme switching

* styles cleanup

* improvements to the library grid selector

* random refactoring thats honestly unrelated to this branch

im nearing the end of development for m3 now

* Details' bookmarks now themed by cover

* Use Material3 for primary buttons

* Use new mat dialog for filter scanlators sheet

* Updates to themed details refresh icon

* fix toolbar title being centered in searchactivity

* Updates to library badges

Now slightly outside of the covers again

* Global search badge updated to match library badge

* Updates to the manga details theme colors to be closer to the original suggested color

Also the backdrop tint will no longer be used as much if it makes for a bad contrast between it and the title/subtitle text

* Updates to the monet themes colorPrimaryVariant

* more updates to cover theme colors

tries to pick between dominant, vibrant, and muted to find something colorful to use

* Updated to material alpha04

With it brings:
M3 Nav Rail
Updated dialogs
Updated sheets theme

* Delete side_nav_item_selector.xml

* Update colorPrimVariant for light themes

* remove elevation in theme preview item

* various updates to imports

* Update ControllerExtensions.kt

* Fix extensions/ dl queue title not being centered

* more improvements to bestColor for covers

* Use attr for styles of textviews

+ style cleanup

* Use cross in filter scanlator groups to show its filtered

* Support delta movement of moving manga categories

Tristate to manage add/remove without removing categories categories

also some refactoring of TriStateCheckBox
closes #644

* remove stroke on category hopper

* update to details theming in light theme

* Fix some text appearances

* Fixes to text that shows when some categories are shared between selected manga

* Use Material3 style for the final remaining elements

this is slider tooltip, chips, text buttons, editText, tracker cardview

* making category hopper slightly bigger

* fixed dialog divider color for edit manga and tri state

* fixed top padding in manga category dialog

* Update dim for full cover for devices under A12

* More improvements to the logic for what text shows on the move categories button

* Fixed slider tooltip color and text size

as well as made the inactive ticks less visible

* fixed light nav bar in bottom sheets for older devices

* Fix reader nav bar colors for android 10 and below

for android 8 and below the reader nav bar is now black in light themes
also removed zhanghai.android.systemuihelper lib

* set tri checkbox background ripple to off for dialogs

* fixed misuse of textAppearanceBodySmall

* make lightStatusBar a local val in readeractivity

* when manga is in the default category, text should always say "move to" instead "add to" when change categories

* Fixed copy and logic for when trying to remove tracker while offline
2021-10-04 17:30:10 -04:00
Jays2Kings
b9c823ce34 fix for the last commit 2021-10-04 03:43:06 -04:00
Jays2Kings
cd33a1674a Check unmetered again for download only via wifi instead of if wifi is on
Since wifiManager.isWifiEnabled only checks if wifi is on, not if conntected to a wifi network
2021-10-03 22:52:28 -04:00
Jays2Kings
8a8c068e23 Fixed android 12 showing "capture more" for screenshots while the reader menu is open 2021-10-03 22:50:30 -04:00
Jays2Kings
7a2c9ce457 Fix downloads not working on metered wifi or vpns 2021-10-03 00:20:18 -04:00
Jays2Kings
f9ab1dbef1 use try block for setIncognito so it can show in layout editor 2021-10-02 14:14:46 -04:00
Jays2Kings
67a4fa4d6b Version 1.3.2 2021-10-02 12:48:45 -04:00
Jays2Kings
a0a0501151
Weblate translations (#1002)
Co-authored-by: Ainārs Lapkovskis <ainarslapkovskis@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Druvvaldis <druvvaldisr@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Forqen <krecio555@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Huang Zhiyi <hzy980512@126.com>
Co-authored-by: HuynhDuc <minhduck3359@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jakub Fabijan <jakubfabijan@tuta.io>
Co-authored-by: John Andrew Jose <johnandrew.jose0308@gmail.com>
Co-authored-by: K. Sz. Bence <tudi20@protonmail.com>
Co-authored-by: Kaleb <kalebcarvalho1@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Michael Fleischer <michaelfleischer81@gmail.com>
Co-authored-by: Nishant Bodkhe <nishantbodkhe44@gmail.com>
Co-authored-by: Pedro <pedro-mediavilla@hotmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Qaluna del Almarica <keslaveje@gmail.com>
Co-authored-by: Redy Apriyadi <redy.apriyadi@gmail.com>
Co-authored-by: Ric <rikku.debec@gmail.com>
Co-authored-by: Victor Bychkov <madeinchuvashia@gmail.com>
Co-authored-by: crackheadakira <lasn.mine@gmail.com>
Co-authored-by: julptk <julptk8@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: phannhanhn201 <phannhanhn201@gmail.com>
Co-authored-by: soplatnik <jestapom@protonmail.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/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/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hi/
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/lv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/mn/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nb_NO/
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/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/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: Ainārs Lapkovskis <ainarslapkovskis@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Druvvaldis <druvvaldisr@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Forqen <krecio555@gmail.com>
Co-authored-by: Huang Zhiyi <hzy980512@126.com>
Co-authored-by: HuynhDuc <minhduck3359@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jakub Fabijan <jakubfabijan@tuta.io>
Co-authored-by: John Andrew Jose <johnandrew.jose0308@gmail.com>
Co-authored-by: K. Sz. Bence <tudi20@protonmail.com>
Co-authored-by: Kaleb <kalebcarvalho1@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Michael Fleischer <michaelfleischer81@gmail.com>
Co-authored-by: Nishant Bodkhe <nishantbodkhe44@gmail.com>
Co-authored-by: Pedro <pedro-mediavilla@hotmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Qaluna del Almarica <keslaveje@gmail.com>
Co-authored-by: Redy Apriyadi <redy.apriyadi@gmail.com>
Co-authored-by: Ric <rikku.debec@gmail.com>
Co-authored-by: Victor Bychkov <madeinchuvashia@gmail.com>
Co-authored-by: crackheadakira <lasn.mine@gmail.com>
Co-authored-by: julptk <julptk8@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: phannhanhn201 <phannhanhn201@gmail.com>
Co-authored-by: soplatnik <jestapom@protonmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
2021-10-02 12:27:44 -04:00
Jays2Kings
78e3da7488 Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text input when incognito is enabled
Close #1015

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2021-10-02 12:26:40 -04:00
Jays2Kings
78a71e5280 fix format in BaseWebViewActivity 2021-10-02 12:24:12 -04:00
Jays2Kings
2d9bd2eb63 hide kb in browse source for debug builds 2021-10-02 11:29:18 -04:00
Jays2Kings
6b7b2fac20 set Read Comics Online as a comic source
Closes #1014
2021-10-01 20:14:05 -04:00
Jays2Kings
ad5378f601 Fix ghost extension badge in tab bar in android 12
only happens when an extension updates while the main activity isn't active
2021-10-01 19:56:53 -04:00
Jays2Kings
ace46b4b8b No longer force webtoons.com entries to only use webtoon mode 2021-10-01 00:52:03 -04:00
Jays2Kings
7b091e368f fix globalsearch package name 2021-10-01 00:34:20 -04:00
Jays2Kings
c4164872aa name side nav class properly 2021-10-01 00:33:55 -04:00
Jays2Kings
d11506db9c remove timber mention in dependencies 2021-10-01 00:31:04 -04:00
Jays2Kings
896ed8661c Update WindowInsetsExtensions.kt 2021-10-01 00:30:37 -04:00