diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt index efd766855..5bf89720e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt @@ -146,7 +146,6 @@ class Anilist(private val context: Context, id: Int) : TrackService(id) { track.library_id = libManga.library_id } - if (track.status != COMPLETED) { if (track.status != REPEATING && didReadChapter) { track.status = READING diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt index 0b0d8c9ca..f2bce17c2 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt @@ -19,6 +19,7 @@ import eu.kanade.tachiyomi.network.NetworkHelper import eu.kanade.tachiyomi.network.PREF_DOH_CLOUDFLARE import eu.kanade.tachiyomi.network.PREF_DOH_GOOGLE import eu.kanade.tachiyomi.ui.base.controller.DialogController +import eu.kanade.tachiyomi.ui.base.controller.openInBrowser import eu.kanade.tachiyomi.util.CrashLogUtil import eu.kanade.tachiyomi.util.lang.launchIO import eu.kanade.tachiyomi.util.lang.withUIContext @@ -89,6 +90,16 @@ class SettingsAdvancedController : SettingsController() { } } + preference { + key = "pref_dont_kill_my_app" + title = "Don't kill my app!" + summaryRes = R.string.about_dont_kill_my_app + + onClick { + openInBrowser("https://dontkillmyapp.com/") + } + } + preferenceCategory { titleRes = R.string.label_data diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 543a472d9..db3de167e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -448,6 +448,7 @@ Crash logs saved Disable battery optimization Helps with background library updates and backups + Some manufacturers have additional app restrictions that kill background services. This website has more info on how to fix it. Battery optimization is already disabled Couldn\'t open device settings