mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -261,11 +261,11 @@ class AudioPlayService : BaseService(),
|
||||
}
|
||||
|
||||
private fun addTimer() {
|
||||
if (timeMinute == 60) {
|
||||
if (timeMinute == 180) {
|
||||
timeMinute = 0
|
||||
} else {
|
||||
timeMinute += 10
|
||||
if (timeMinute > 60) timeMinute = 60
|
||||
if (timeMinute > 180) timeMinute = 180
|
||||
}
|
||||
doDs()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user