diff --git a/app/src/main/java/com/orgzly/android/sync/SyncUtils.kt b/app/src/main/java/com/orgzly/android/sync/SyncUtils.kt index a9994ca0c..c146cd6be 100644 --- a/app/src/main/java/com/orgzly/android/sync/SyncUtils.kt +++ b/app/src/main/java/com/orgzly/android/sync/SyncUtils.kt @@ -123,12 +123,11 @@ object SyncUtils { BookSyncStatus.CONFLICT_BOOK_WITH_LINK_AND_ROOK_BUT_NEVER_SYNCED_BEFORE, BookSyncStatus.CONFLICT_LAST_SYNCED_ROOK_AND_LATEST_ROOK_ARE_DIFFERENT, BookSyncStatus.ROOK_AND_VROOK_HAVE_DIFFERENT_REPOS, - BookSyncStatus.ONLY_DUMMY -> + BookSyncStatus.ONLY_DUMMY, + BookSyncStatus.ROOK_NO_LONGER_EXISTS, + BookSyncStatus.SYNCED_BOOK_WITHOUT_LINK -> bookAction = BookAction.forNow(BookAction.Type.ERROR, namesake.status.msg()) - BookSyncStatus.SYNCED_ROOK_NO_LONGER_EXISTS -> - bookAction = BookAction.forNow(BookAction.Type.ERROR, namesake.status.msg(namesake.book.syncedTo!!.uri)) - /* Load remote book. */ BookSyncStatus.NO_BOOK_ONE_ROOK, BookSyncStatus.DUMMY_WITHOUT_LINK_AND_ONE_ROOK -> { @@ -217,4 +216,4 @@ object SyncUtils { } return noNewMergeConflicts } -} \ No newline at end of file +}