4 Commits

Author SHA1 Message Date
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
AwkwardPeak7
01ab21ab4a Dilar: fix NPE during extension loading (#2227) 2024-04-06 23:50:56 +01:00
mohamedotaku
2967ffe0dc Add Mirror link for Dilar "ar" (#2187)
* Add Mirror link for Dilar "ar"

* Update Dilar.kt

* Update Dilar.kt

* Update Dilar.kt

* override cdnUrl

* Update build.gradle.kts

* MirrorPref()

* MirrorPref()

* Update Dilar.kt

* remove lazy

---------

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
2024-04-06 23:50:56 +01:00
AwkwardPeak7
5292a9ff0a Gmanga multisrc: Add Dilar & MangaTales (#1767)
All checks were successful
CI / Prepare job (push) Successful in 4s
CI / Build individual modules (push) Successful in 3m14s
CI / Publish repo (push) Successful in 43s
* gmanga multisrc

* search payload and filters refactor

* ratelimit

* distinct

* dynamic filters

* dilar

* gmanga multisrc: latest

* gmanga multisrc: search & filter

* gmanga multisrc: chapters & pages

* small cleanup

* remove obsolete preferences

* small cleanup & arabic tl

deepl

* Dilar: filter paid chapters

* GManga: use unencrypted alt api for chapters

* abstract away sort of chapters and pages

* remove chapters logic from multisrc class since all three have different logic

* remove `this`
2024-03-12 19:55:31 +00:00