Skip to content

Commit

Permalink
Update BookNamesake.java
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin authored May 19, 2024
1 parent 4c64d76 commit 89ab6c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void updateStatus(int reposCount) {
status = BookSyncStatus.ONLY_BOOK_WITH_LINK;
}
} else { /* Only local book without link. */
BookAction? lastAction = book.getBook().getLastAction();
BookAction lastAction = book.getBook().getLastAction();
if (lastAction != null && lastAction.getType() == BookAction.Type.ERROR) {
// Book has previously had trouble syncing.
status = BookSyncStatus.BOOK_WITHOUT_LINK_AND_PREVIOUS_ERROR;
Expand Down

0 comments on commit 89ab6c9

Please sign in to comment.