Skip to content

Commit

Permalink
Update Url Mangalek "ar" (#1992)
Browse files Browse the repository at this point in the history
* Update Url Mangalek "ar"

* update defaultBaseUrl
  • Loading branch information
mohamedotaku authored Mar 23, 2024
1 parent 582db43 commit fc1c835
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
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

0 comments on commit fc1c835

Please sign in to comment.