|
|
@ -13,7 +13,6 @@ import io.legado.app.utils.FileUtils |
|
|
|
import io.legado.app.utils.LogUtils |
|
|
|
import io.legado.app.utils.LogUtils |
|
|
|
import io.legado.app.utils.postEvent |
|
|
|
import io.legado.app.utils.postEvent |
|
|
|
import kotlinx.coroutines.isActive |
|
|
|
import kotlinx.coroutines.isActive |
|
|
|
import org.jetbrains.anko.toast |
|
|
|
|
|
|
|
import java.io.File |
|
|
|
import java.io.File |
|
|
|
import java.io.FileDescriptor |
|
|
|
import java.io.FileDescriptor |
|
|
|
import java.io.FileInputStream |
|
|
|
import java.io.FileInputStream |
|
|
@ -84,8 +83,6 @@ class HttpReadAloudService : BaseReadAloudService(), |
|
|
|
break |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}.onError { |
|
|
|
|
|
|
|
toast("下载朗读文件出错:${it.localizedMessage}") |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|