pull/35/head^2
kunfei 5 years ago
parent 9fb795206d
commit ff2800ce0a
  1. 2
      app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt

@ -132,7 +132,7 @@ class RssSourceEditActivity :
}
private fun getRssSource(): RssSource? {
val source = viewModel.sourceLiveData.value?.copy() ?: RssSource()
val source = viewModel.sourceLiveData.value ?: RssSource()
sourceEntities.forEach {
when (it.key) {
"sourceName" -> source.sourceName = it.value ?: ""

Loading…
Cancel
Save