mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-05 16:15:06 +01:00
Don't update trackers after reading a chapter if Incognito Mode is enabled
Closes #7228
This commit is contained in:
parent
fc4fd487f9
commit
9766399539
@ -831,9 +831,10 @@ class ReaderViewModel(
|
||||
* will run in a background thread and errors are ignored.
|
||||
*/
|
||||
private fun updateTrackChapterRead(readerChapter: ReaderChapter) {
|
||||
if (basePreferences.incognitoMode().get()) return
|
||||
if (!trackPreferences.autoUpdateTrack().get()) return
|
||||
val manga = manga ?: return
|
||||
|
||||
val manga = manga ?: return
|
||||
val chapterRead = readerChapter.chapter.chapter_number.toDouble()
|
||||
|
||||
val trackManager = Injekt.get<TrackManager>()
|
||||
|
Loading…
Reference in New Issue
Block a user