pull/1172/head
gedoor 3 years ago
parent 1035ae090f
commit 3568100f47
  1. 1
      app/src/main/AndroidManifest.xml
  2. 1
      app/src/main/java/io/legado/app/constant/PreferKey.kt
  3. 1
      app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt

@ -21,6 +21,7 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<application
android:name=".App"

@ -21,6 +21,7 @@ object PreferKey {
const val precisionSearch = "precisionSearch"
const val speakEngine = "speakEngine"
const val readAloudByPage = "readAloudByPage"
const val ttsEngine = "ttsEngine"
const val ttsSpeechRate = "ttsSpeechRate"
const val prevKeys = "prevKeyCodes"
const val nextKeys = "nextKeyCodes"

@ -120,6 +120,7 @@ object BookChapterList {
if (book.totalChapterNum < list.size) {
book.lastCheckCount = list.size - book.totalChapterNum
book.latestChapterTime = System.currentTimeMillis()
book.lastCheckTime = System.currentTimeMillis()
}
book.totalChapterNum = list.size
return list

Loading…
Cancel
Save