From bd767f1cbeebdb7af330bdeb0f27338cdbecdb87 Mon Sep 17 00:00:00 2001 From: Michal Rentka Date: Wed, 16 Oct 2024 14:52:40 +0200 Subject: [PATCH] Retain library token --- Zotero/Scenes/Detail/Trash/ViewModels/TrashActionHandler.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Zotero/Scenes/Detail/Trash/ViewModels/TrashActionHandler.swift b/Zotero/Scenes/Detail/Trash/ViewModels/TrashActionHandler.swift index 17993f08f..39d03a240 100644 --- a/Zotero/Scenes/Detail/Trash/ViewModels/TrashActionHandler.swift +++ b/Zotero/Scenes/Detail/Trash/ViewModels/TrashActionHandler.swift @@ -202,6 +202,7 @@ final class TrashActionHandler: BaseItemsActionHandler, ViewModelActionHandler { update(viewModel: viewModel) { state in state.library = library + state.libraryToken = libraryToken state.objects = results state.itemKeys = itemKeys state.itemsToken = itemsToken