pull/5/head v2.0.1
fengyuecanzhu 4 years ago
parent de2e41ffb5
commit 0f5f1bba46
  1. 5
      app/src/main/java/xyz/fycz/myreader/ui/activity/BookDetailedActivity.java
  2. 2
      app/version_code.properties

@ -568,14 +568,15 @@ public class BookDetailedActivity extends BaseActivity {
mBookService.addBook(mBook); mBookService.addBook(mBook);
} }
Intent intent = new Intent(this, ReadActivity.class); Intent intent = new Intent(this, ReadActivity.class);
aBooks = mSourceDialog.getaBooks(); /*aBooks = mSourceDialog.getaBooks();
if (aBooks != null) { if (aBooks != null) {
aBooks.set(mSourceDialog.getSourceIndex(), mBook); aBooks.set(mSourceDialog.getSourceIndex(), mBook);
BitIntentDataManager.getInstance().putData(intent, aBooks); BitIntentDataManager.getInstance().putData(intent, aBooks);
intent.putExtra(APPCONST.SOURCE_INDEX, mSourceDialog.getSourceIndex()); intent.putExtra(APPCONST.SOURCE_INDEX, mSourceDialog.getSourceIndex());
} else { } else {
BitIntentDataManager.getInstance().putData(intent, mBook); BitIntentDataManager.getInstance().putData(intent, mBook);
} }*/
BitIntentDataManager.getInstance().putData(intent, mBook);
intent.putExtra("isCollected", isCollected); intent.putExtra("isCollected", isCollected);
startActivityForResult(intent, APPCONST.REQUEST_READ); startActivityForResult(intent, APPCONST.REQUEST_READ);
} }

@ -1,2 +1,2 @@
#Sun May 16 15:57:24 CST 2021 #Mon May 17 11:39:21 CST 2021
VERSION_CODE=200 VERSION_CODE=200

Loading…
Cancel
Save