Skip to content

Commit

Permalink
Merge pull request #7184 from HenrikJannsen/do-not-clear-tor-files-at…
Browse files Browse the repository at this point in the history
…-update-to-new-version

Do not clear tor files at update to new version
  • Loading branch information
alejandrogarcia83 authored Jun 28, 2024
2 parents dc0e8d8 + 88c7feb commit d95b074
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

import bisq.core.alert.Alert;
import bisq.core.locale.Res;
import bisq.core.user.CookieKey;
import bisq.core.user.User;

import bisq.common.config.Config;
Expand Down Expand Up @@ -259,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"))
Expand Down

0 comments on commit d95b074

Please sign in to comment.