feat: 优化代码

pull/159/head
kunfei 5 years ago
parent eaa5bfab6c
commit 107c10ec95
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt

@ -126,7 +126,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
} }
}?.onError { }?.onError {
toast(R.string.error_load_toc) toast(R.string.error_load_toc)
} ?: autoChangeSource(book.name, book.author) }
} }
} }
} }

Loading…
Cancel
Save