Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Url Mangalek "ar" #1992

Merged
merged 2 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ar/mangalek/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ ext {
extName = 'Mangalek'
extClass = '.Mangalek'
themePkg = 'madara'
baseUrl = 'https://manga-lek.net'
overrideVersionCode = 4
baseUrl = 'https://lekmanga.net'
overrideVersionCode = 5
}

apply from: "$rootDir/common.gradle"
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ import uy.kohesive.injekt.api.get
import java.text.SimpleDateFormat
import java.util.Locale

private const val mangalekUrl = "https://lekmanga.net"
class Mangalek :
Madara(
"مانجا ليك",
"https://manga-lek.net",
mangalekUrl,
"ar",
SimpleDateFormat("MMMM dd, yyyy", Locale("ar")),
),
Expand All @@ -34,7 +35,7 @@ class Mangalek :
override val useLoadMoreRequest = LoadMoreStrategy.Always
override val chapterUrlSuffix = ""

private val defaultBaseUrl = "https://manga-lek.net"
private val defaultBaseUrl = mangalekUrl
override val baseUrl by lazy { getPrefBaseUrl() }

private val preferences: SharedPreferences by lazy {
Expand Down