From 24e971c78681ad949f285ea9f96b2921ed71c72b Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 6 Mar 2020 17:42:59 -0500 Subject: [PATCH] 1.6.4.1 change download url for recommendations --- app/build.gradle.kts | 4 ++-- .../tachiyomi/ui/setting/SettingsRelatedController.kt | 6 +++--- app/src/main/res/raw/changelog_release.xml | 8 +++++++- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 17fe938f65..80496ad0c0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -24,8 +24,8 @@ android { minSdkVersion(21) targetSdkVersion(29) applicationId = "tachiyomi.mangadex" - versionCode = 46 - versionName = "1.6.4" + versionCode = 47 + versionName = "1.6.4.1" multiDexEnabled = true setProperty("archivesBaseName", "Neko") buildConfigField("String", "BUILD_TIME", "\"${BUILD_TIME}\"") diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsRelatedController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsRelatedController.kt index b29b02e018..16bfef1132 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsRelatedController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsRelatedController.kt @@ -68,8 +68,8 @@ class SettingsRelatedController : SettingsController() { preference { title = "Github" val url = - "https://github.com/goldbattle/MangadexRecomendations/blob/master/output" - summary = "Download latest manga compressed json for recommendations (updated daily)" + "https://github.com/goldbattle/MangadexRecomendations/releases/download/v1.0.0/mangas_compressed.json" + summary = "Download latest manga compressed json for recommendations (updated daily)." onClick { val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url)) startActivity(intent) @@ -148,7 +148,7 @@ class SettingsRelatedController : SettingsController() { .apply { setContentTitle(context.resources.getString(R.string.pref_related_loading_welcome)) setSmallIcon(R.drawable.ic_neko_notification) - setPriority(NotificationCompat.PRIORITY_LOW) + priority = NotificationCompat.PRIORITY_LOW setOngoing(true) setOnlyAlertOnce(true) setColor(ContextCompat.getColor(context, R.color.colorPrimary)) diff --git a/app/src/main/res/raw/changelog_release.xml b/app/src/main/res/raw/changelog_release.xml index 491b353574..fa5d150c16 100644 --- a/app/src/main/res/raw/changelog_release.xml +++ b/app/src/main/res/raw/changelog_release.xml @@ -1,10 +1,16 @@ + + Changed link for related manga + + Added recommendations tab in manga info (alpha) Requires download a json and - loading it manually for now + loading it manually for now. Enable in settings add setting to manage notifications refresh webtoon adapter on image property changes