mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
1035ae090f
commit
3568100f47
@ -21,6 +21,7 @@
|
|||||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
<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.DOWNLOAD_WITHOUT_NOTIFICATION" />
|
||||||
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name=".App"
|
android:name=".App"
|
||||||
|
@ -21,6 +21,7 @@ object PreferKey {
|
|||||||
const val precisionSearch = "precisionSearch"
|
const val precisionSearch = "precisionSearch"
|
||||||
const val speakEngine = "speakEngine"
|
const val speakEngine = "speakEngine"
|
||||||
const val readAloudByPage = "readAloudByPage"
|
const val readAloudByPage = "readAloudByPage"
|
||||||
|
const val ttsEngine = "ttsEngine"
|
||||||
const val ttsSpeechRate = "ttsSpeechRate"
|
const val ttsSpeechRate = "ttsSpeechRate"
|
||||||
const val prevKeys = "prevKeyCodes"
|
const val prevKeys = "prevKeyCodes"
|
||||||
const val nextKeys = "nextKeyCodes"
|
const val nextKeys = "nextKeyCodes"
|
||||||
|
@ -120,6 +120,7 @@ object BookChapterList {
|
|||||||
if (book.totalChapterNum < list.size) {
|
if (book.totalChapterNum < list.size) {
|
||||||
book.lastCheckCount = list.size - book.totalChapterNum
|
book.lastCheckCount = list.size - book.totalChapterNum
|
||||||
book.latestChapterTime = System.currentTimeMillis()
|
book.latestChapterTime = System.currentTimeMillis()
|
||||||
|
book.lastCheckTime = System.currentTimeMillis()
|
||||||
}
|
}
|
||||||
book.totalChapterNum = list.size
|
book.totalChapterNum = list.size
|
||||||
return list
|
return list
|
||||||
|
Loading…
Reference in New Issue
Block a user