|
|
@ -49,7 +49,7 @@ class CheckSourceService : BaseService() { |
|
|
|
unCheckIds.clear() |
|
|
|
unCheckIds.clear() |
|
|
|
idsCount = ids.size |
|
|
|
idsCount = ids.size |
|
|
|
unCheckIds.addAll(ids) |
|
|
|
unCheckIds.addAll(ids) |
|
|
|
updateNotification(0, getString(R.string.start)) |
|
|
|
updateNotification(0, getString(R.string.progress_show, 0, idsCount)) |
|
|
|
task = execute { |
|
|
|
task = execute { |
|
|
|
unCheckIds.forEach { sourceUrl -> |
|
|
|
unCheckIds.forEach { sourceUrl -> |
|
|
|
App.db.bookSourceDao().getBookSource(sourceUrl)?.let { source -> |
|
|
|
App.db.bookSourceDao().getBookSource(sourceUrl)?.let { source -> |
|
|
|