5302 Commits

Author SHA1 Message Date
Soitora
ae073f9207 Added "Green Apple" theme (#5184)
* Added "Green Apple" theme

Totally not stolen from other forks.

Although to cover all my bases I co-author all people who adapted the theme in any form.

Neko, J2K and Tako

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: Jays2Kings <jays@outlook.com>
Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add black as the OnSecondary color

Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-authored-by: Jays2Kings <jays@outlook.com>
Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
(cherry picked from commit 4af13e3536493db7de3ff5e24ae5794c1efe3661)
2021-05-28 14:36:47 -04:00
Gauthier
1c084d42df Background tracker update during Library update (#5166)
* add preference to auto update trackers during library update

* also update trackers when updating chapters and preference is set

* remove unnecessary launch/join

* perform tracking update within the same chapter update loop to avoid double notifications

(cherry picked from commit e76e903060658530909455664c954cc4a639527d)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
2021-05-28 14:36:47 -04:00
Jobobby04
f245bbcfeb Move Kapt 2021-05-28 14:36:47 -04:00
arkon
29310c86e2 Use 1.x source-api artifact from Maven Central
(cherry picked from commit d8251224cb32d3678f6ee917055ab1228c5954f8)
2021-05-28 14:36:46 -04:00
Gauthier
f492ad2529 Refactor TrackService.kt to remove unused add function (#5164)
* removed the add function from TrackService.kt as it's not used except within the tracker implementations

* add private modifier

(cherry picked from commit acd927a937e1d7a7253dfd3954969ee9bb00d610)
2021-05-28 14:36:46 -04:00
Jobobby04
33b6912c22 nullIfEmpty 2021-05-28 14:36:45 -04:00
Jobobby04
9e63f32a82 Localize Find in another source 2021-05-28 14:36:45 -04:00
arkon
834e3d78ab Put shortcut to backup menu in More
(cherry picked from commit a498f940c6169a486f61be546759c59045be414e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt
2021-05-28 14:36:45 -04:00
arkon
2d2378a1e2 Use Title Case for theme names
(cherry picked from commit 948cb31d1ac0f2f564047de14ffeb765290becb2)
2021-05-28 14:36:44 -04:00
arkon
3cc61bc3b8 Make some strings in LocalSource translatable (closes #5178)
(cherry picked from commit 179cb8eb50951955611036f4140d6128e6fce781)
2021-05-28 14:36:44 -04:00
arkon
6b771b4a70 Handle toolbar title in manga details on tablets similar to on phones
(cherry picked from commit 47f865aa720c47faa7853f4be3065e3ba718f1ba)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-05-28 14:36:43 -04:00
arkon
9c2eadd8ca Remove unused Gson singleton factory
We don't inject it anywhere anymore.

(cherry picked from commit b47face2f8cea2d5425b5fe9daaa566ffda55042)
2021-05-28 14:36:43 -04:00
Ivan Iskandar
f09c977661 TabbedBottomSheetDialog: Fix scrollable pages (#5173)
(cherry picked from commit 69869115f6531f62013e6c4c3bdfb750bc26c57f)
2021-05-28 14:36:43 -04:00
Soitora
2acc364960 Added "Strawberry Daiquiri" theme (#5176)
(cherry picked from commit 0fb9ca3e8b1e779206c9e4a9f7ac3259bed3911a)
2021-05-28 14:36:42 -04:00
arkon
c63300d9ad Tweak tablet manga info column width
(cherry picked from commit eaf9c9b2d8ef6aec525871f6652b2361fbb70442)
2021-05-28 14:36:42 -04:00
arkon
c90aec5c3d Organize some classes
(cherry picked from commit 70d9b0c390be46152139551a0783297b80389355)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-05-28 14:36:41 -04:00
Gauthier
8e6f04f258 pull the rate limit interceptors from the extensions repo (#5163)
apply a rate limit to anilist, current limit is 90 per minute

(cherry picked from commit e57a999c9ce7653b735293a60dd990bea65d95c1)
2021-05-28 14:36:41 -04:00
Soitora
606101dc8b Add "Midnight Dusk" and "Hot Pink" themes (#5161)
* Organize and clarify themes file

Increases clarification with better commenting, should make it easier to add or modify current themes.

* Make AMOLED its own theme category

* Tweak ripples for AMOLED

* Add "Midnight Dusk" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add "Hot Pink" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>

* Make AMOLED a base theme

* Final tweaks

Rename "Toolbar.Light" to "Custom.PopupTheme"
Changes placing of backgroundDusk

Removes HotPink and MidnightDusk custom Toolbars, I believe they are unnecessary.

* Rename a Midnight Dusk color

* Make AMOLED independent from Dark as a theme

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
Co-authored-by: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>
(cherry picked from commit 176e984b56d66d1e47bd367d7dde03e4a024152c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
#	app/src/main/res/values/styles.xml
#	app/src/main/res/values/themes.xml
2021-05-28 14:36:40 -04:00
Ivan Iskandar
97eda86ac4 Remove top margin of PreferenceCategory if no title set (#5168)
(cherry picked from commit b5a700276a00f5b630d35d1b902bd624905c6c01)
2021-05-28 14:36:40 -04:00
Ivan Iskandar
dd4384767c Fix incognito mode disabled after the app kicked out of memory (#5167)
The application class onCreate will also be called when user navigates to an
activity after the app process is killed by the system.

So make sure the incognito is disabled only when the entry point of the app is
created from scratch (e.g. after being force closed by the user).

(cherry picked from commit 3c186a3c8d3fd74f489a7aa2a27906d29502e0f6)
2021-05-28 14:36:39 -04:00
Jobobby04
b18075de14 Cleanup 2021-05-28 14:36:39 -04:00
Jobobby04
c39ec81f42 Metadata cleanup 2021-05-28 14:36:38 -04:00
Eugene
99d23a47b7
18+ tag to Lewd Check (#336) 2021-05-25 14:54:54 -04:00
Jobobby04
481f600056 Double page spread share/save options 2021-05-23 18:23:45 -04:00
Jobobby04
143d0d2518 Fix reader settings crash 2021-05-23 18:23:44 -04:00
Soitora
38fef11287
Fix SY themes after custom ripple changes (#332)
* Fix SY Themes and Ripples

* Slightly increase ripple brightness in AMOLED

* Override AMOLED highlight for the failure that is Hot Pink
2021-05-23 18:23:22 -04:00
arkon
9adbb1b115 Option to move nav rail buttons to bottom of screen (closes #5158)
Based on 90be3e3494

Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit a462ce3626720ba770b6d1e991be9490a551e83c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/res/values/strings.xml
2021-05-23 15:40:27 -04:00
arkon
ec9967d2d6 Fix reader chapter sort ordering (fixes #5157)
(cherry picked from commit 065cf42aea510e6e3edad2083dfa829692bd60d1)
2021-05-23 15:36:20 -04:00
arkon
ba0e353ea1 Revert "Prevent view from being removed if a to is found (#5135) (#5152)"
This reverts commit 974275a42993534b6d63ae6ba34b75c3c21b7627.

(cherry picked from commit 986b709f2ce7f6ccd131b85f27c195bd85114fa6)
2021-05-23 15:36:10 -04:00
Soitora
e5131e1985 Create a toolbar variable for ripples (#5159)
* Rename rippleNavColor to rippleSecondaryColor

It's not just for the navigation anymore

* Add a rippleToolbarColor for toolbar ripples

Fixes so you can use specialized colors in case of using a theme such as Dark Blue or Light Blue

* Add so text buttons are also themed secondary color

Apparently this is also a common Google app thing

* Changes variable name for Navigation Rail

(cherry picked from commit fed6f44995b7931816d86f599734e81e3c764a80)

# Conflicts:
#	app/src/main/res/values/styles.xml
#	app/src/main/res/values/themes.xml
2021-05-23 15:35:59 -04:00
arkon
43555b3b1a Hide irrelevant settings on tablets
(cherry picked from commit 1b52acdad7771dcd4de0d4f8fe4985db8b1d9182)
2021-05-23 15:34:50 -04:00
arkon
3419bebb70 Update Discord logo asset (closes #5143)
(cherry picked from commit 10a638c6b8e82b502ab18eb4caedf2cacd01f80b)
2021-05-23 15:34:42 -04:00
Jobobby04
b13ca1a097 Lint and build fixes 2021-05-23 15:34:29 -04:00
arkon
dd914047f8 Tablet manga view
(cherry picked from commit 7875f363a8a18659d4cb59774f6ce0e3d0a428ab)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-05-23 15:34:13 -04:00
arkon
666447faac Fix resume button not considering filters
(cherry picked from commit 685736b9ec426384603eb421937b5500ee6e849c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2021-05-23 14:56:33 -04:00
arkon
e9a21a6bbe Use same chapter sorting logic in manga and reader views
(cherry picked from commit aefd2bf6f89c327b11c443de1fe51e45822af432)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2021-05-23 14:54:40 -04:00
arkon
de4e0abef4 Update reader chapter list filtering to handle not downloaded/bookmarked (closes #5107)
(cherry picked from commit ce9fb2f1fe03e47c64f0f667a9f7ef040f46bb2f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt
2021-05-23 14:51:35 -04:00
Antoine Gaudreau Simard
ac7e2909ba Prevent view from being removed if a to is found (#5135) (#5152)
Introduced in c68e7c8da78309a0b091c11379a8da5c6222572d

(cherry picked from commit 974275a42993534b6d63ae6ba34b75c3c21b7627)
2021-05-23 14:49:55 -04:00
arkon
14de1973a3 Fix some RecyclerView heights (fixes #5146)
(cherry picked from commit 98461f9bcab66c5a78cabf35d758a4166a7b282e)
2021-05-23 14:49:46 -04:00
Jobobby04
3053bf9d5d Double page spread
(cherry picked from commit 7832d1abe1fdcdb962f388e5a86dd3fcecad6712)
2021-05-23 14:49:09 -04:00
Jobobby04
3192140421 Disable mangadex covers and use temp covers 2021-05-23 14:48:14 -04:00
Jobobby04
80cf38a70d Fix mangadex covers 2021-05-23 14:43:12 -04:00
arkon
42bbf07859 Update ripples for tablet NavigationRail (fixes #5145)
(cherry picked from commit 094f78fb416ea429b7bcfb21f027993aa32aafc7)
2021-05-22 18:28:39 -04:00
Soitora
9b4aac7ce5 Ripples patch (#5144)
* Combine ripple_dark and ripple_light

Fixes AMOLED theme and doesn't require two seperate items.

* Fix ripple for the new About icons

* Fixes nav/tab ripple in Dark Blue and Light Blue themes

* Theme some ripples using their Style instead

(cherry picked from commit 33dcdc159949e76933f07130fd43d0537c7ea46f)

# Conflicts:
#	app/src/main/res/values/themes.xml
2021-05-22 18:28:04 -04:00
arkon
ab64e51c6b Fix action toolbar positioning (fixes #5099)
(cherry picked from commit 8870ccb18c890b6ce05a16c1be90a1ce2a76ef8d)
2021-05-22 18:22:36 -04:00
arkon
82a92b9497 Fallback to default viewer properly (closes #5068)
(cherry picked from commit 2a7ed1375af6c2b705127f0ef2d2ac69e8b6bb67)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt
2021-05-22 18:22:21 -04:00
arkon
a855c4a929 Fix vector from being rasterized during build
(cherry picked from commit 54b50cca71262f827a5cdd264c61da6cbbc71d28)
2021-05-22 18:08:28 -04:00
arkon
de6c428d72 Enforce same height for about links
Discord is kind of scuffed because the icon isn't vertically centered properly.

(cherry picked from commit 1c10ba7925787d9f1708e43e7b3549c917546f1e)
2021-05-22 18:08:20 -04:00
Soitora
a34133f526 Change tab ripple color (#5142)
Does what Google apps does, uses the colored ripple for Tabs as well and not just bottom nav.

(cherry picked from commit 2b8df691fff9db0754bce23a2eb0788200f836aa)
2021-05-22 18:08:13 -04:00
arkon
56d127003f Shrink Komga logo asset
(cherry picked from commit 15da856303e5abf2f1ad00d2d227568af985a532)
2021-05-22 18:07:55 -04:00