保存书源时更新时间

pull/843/head
gedoor 4 years ago
parent debb0a6b4a
commit fa752eb4d8
  1. 1
      app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditViewModel.kt

@ -40,6 +40,7 @@ class BookSourceEditViewModel(application: Application) : BaseViewModel(applicat
}
}
oldSourceUrl = source.bookSourceUrl
source.lastUpdateTime = System.currentTimeMillis()
appDb.bookSourceDao.insert(source)
bookSource = source
}.onSuccess {

Loading…
Cancel
Save