From 88c7feb29c9df7287c724aaaf8b6c7c47a035de7 Mon Sep 17 00:00:00 2001 From: HenrikJannsen Date: Fri, 28 Jun 2024 21:46:21 +0700 Subject: [PATCH] Remove CLEAN_TOR_DIR_AT_RESTART flag at download of new version Signed-off-by: HenrikJannsen --- .../windows/downloadupdate/DisplayUpdateDownloadWindow.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/overlays/windows/downloadupdate/DisplayUpdateDownloadWindow.java b/desktop/src/main/java/bisq/desktop/main/overlays/windows/downloadupdate/DisplayUpdateDownloadWindow.java index f6994b02322..fc6a0eb86c4 100644 --- a/desktop/src/main/java/bisq/desktop/main/overlays/windows/downloadupdate/DisplayUpdateDownloadWindow.java +++ b/desktop/src/main/java/bisq/desktop/main/overlays/windows/downloadupdate/DisplayUpdateDownloadWindow.java @@ -26,10 +26,8 @@ import bisq.core.alert.Alert; import bisq.core.locale.Res; -import bisq.core.user.CookieKey; import bisq.core.user.User; -import bisq.common.UserThread; import bisq.common.config.Config; import bisq.common.util.Utilities; @@ -260,9 +258,6 @@ private void addContent() { if (verifyResults == null || verifyResults.isEmpty() || verifyFailed.isPresent()) { showErrorMessage(downloadButton, statusLabel, Res.get("displayUpdateDownloadWindow.verify.failed")); } else { - // We set a flag to clear tor cache files at re-start. We cannot clear it now as Tor is used and - // that can cause problems. - user.getCookie().putAsBoolean(CookieKey.CLEAN_TOR_DIR_AT_RESTART, true); verifiedSigLabel.getStyleClass().add("success-text"); new Popup().feedback(Res.get("displayUpdateDownloadWindow.success")) .actionButtonText(Res.get("displayUpdateDownloadWindow.download.openDir"))