Hitomi is stupid enough to block user agent for chrome... holy shit

Added self-test and reload
Reduced update ignoring time to 1d from 1w
This commit is contained in:
tom5079
2022-01-31 01:02:47 +09:00
parent 41e952144d
commit e94cddb86a
9 changed files with 20 additions and 43 deletions

View File

@@ -162,7 +162,7 @@ fun checkUpdate(context: Context, force: Boolean = false) {
setNegativeButton(if (force) android.R.string.cancel else R.string.ignore) { _, _ ->
if (!force)
preferences.edit()
.putLong("ignore_update_until", System.currentTimeMillis() + 604800000)
.putLong("ignore_update_until", System.currentTimeMillis() + 86400000)
.apply()
}
}