From 25d2372531110ac2f1a7d615a571592b7330fbbc Mon Sep 17 00:00:00 2001 From: stevenyomi <95685115+stevenyomi@users.noreply.github.com> Date: Fri, 10 Feb 2023 23:00:29 +0800 Subject: [PATCH] NewToki: fix domain number (#15296) --- src/ko/newtoki/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/ko/newtoki/DomainNumber.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ko/newtoki/build.gradle b/src/ko/newtoki/build.gradle index 3b33eb3f0..cf44adc30 100644 --- a/src/ko/newtoki/build.gradle +++ b/src/ko/newtoki/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'NewToki / ManaToki' pkgNameSuffix = 'ko.newtoki' extClass = '.TokiFactory' - extVersionCode = 27 + extVersionCode = 28 isNsfw = true } diff --git a/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/DomainNumber.kt b/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/DomainNumber.kt index 1be443be4..a339fbc27 100644 --- a/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/DomainNumber.kt +++ b/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/DomainNumber.kt @@ -20,7 +20,7 @@ import java.io.IOException * the number is decremented by 1 initially, * and increments every 8 days which is a bit slower than the average. */ -val fallbackDomainNumber get() = (217 - 1) + ((System.currentTimeMillis() - 1644282000_000) / 691200_000).toInt() +val fallbackDomainNumber get() = (217 - 1) + ((System.currentTimeMillis() - 1675818000_000) / 691200_000).toInt() var domainNumber = "" get() {