mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +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.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…
Reference in New Issue
Block a user