优化发现

master^2
fengyuecanzhu 2 years ago
parent 6e9cfbd0c1
commit b388dce8a5
No known key found for this signature in database
GPG Key ID: 04B78AD06A9D6E6C
  1. 2
      app/src/main/java/xyz/fycz/myreader/ui/adapter/holder/FindBookHolder.java

@ -119,7 +119,7 @@ public class FindBookHolder extends ViewHolderImpl<Book> {
}
if (!StringHelper.isEmpty(source.getSourceName()) && !"未知书源".equals(source.getSourceName()))
tvSource.setText(String.format("书源:%s", source.getSourceName()));
if (!(rc instanceof ThirdCrawler) && rc instanceof BookInfoCrawler && needGetInfo(data)) {
if (rc instanceof BookInfoCrawler && needGetInfo(data)) {
Log.i(data.getName(), "initOtherInfo");
BookInfoCrawler bic = (BookInfoCrawler) rc;
BookApi.getBookInfo(data, bic).compose(RxUtils::toSimpleSingle)

Loading…
Cancel
Save