4 Commits

Author SHA1 Message Date
Vetle Ledaal
44a4f517d2
Remove remaining usage of network.client (#8153)
* Explicitly use `network.cloudflareClient` instead of `super.client`

... but only if the parent is `HttpSource` or `ParsedHttpSource`

* Remove use of `network.client`

... replaced with `network.cloudflareClient` or `super.client` if the
parent class sets `client` to `network.cloudflareClient` already.
2025-03-27 00:02:34 +00:00
AwkwardPeak7
060473aedf
use Preferences functions from utils (#7757)
* import all temporarily

* use `getPreferencesLazy()`

regex: lazy\s*\{\s*Injekt\.get<Application>\(\)\.getSharedPreferences\(\"source_\$id\"\, 0x0000\)(!!)?\s*\}

* use `getPreferences()`

regex: Injekt\.get<Application>\(\)\.getSharedPreferences\(\"source_\$id\"\, 0x0000\)(!!)?

* `getPreferences` and `getPreferencesLazy` with migration

regex to find: getPreferences\(\)\s*\.

* preferences edge cases

* run lint

* why kotlinter not add newline

* bruh

* bump

* unused import not caught by kotlinter

* review suggestions on all files

* bump after merge main

* review

* reduce usage of
2025-03-27 00:02:28 +00:00
Vetle Ledaal
1a6c21f9f3
Cartoon18: fix page selector (#5164) 2024-10-28 00:20:41 +00:00
Cuong M. Tran
82e6f7b6da New source: Cartoon18 (#1467)
* New source: Cartoon18

isNSFW
lang: zh

* cleanup

* improve
2024-03-06 06:23:10 +00:00