diff --git a/desktop/src/main/java/bisq/desktop/main/presentation/SettingsPresentation.java b/desktop/src/main/java/bisq/desktop/main/presentation/SettingsPresentation.java index 73508b05386..f1eab5c2f9a 100644 --- a/desktop/src/main/java/bisq/desktop/main/presentation/SettingsPresentation.java +++ b/desktop/src/main/java/bisq/desktop/main/presentation/SettingsPresentation.java @@ -31,7 +31,7 @@ @Singleton public class SettingsPresentation { - public static final String SETTINGS_NEWS = "settingsNews"; + public static final String SETTINGS_BADGE_KEY = "settingsPrivacyFeature"; private Preferences preferences; @@ -43,7 +43,7 @@ public SettingsPresentation(Preferences preferences) { this.preferences = preferences; preferences.getDontShowAgainMapAsObservable().addListener((MapChangeListener) change -> { - if (change.getKey().equals(SETTINGS_NEWS)) { + if (change.getKey().equals(SETTINGS_BADGE_KEY)) { showNotification.set(!change.wasAdded()); } }); @@ -58,6 +58,6 @@ public BooleanProperty getShowSettingsUpdatesNotification() { } public void setup() { - showNotification.set(preferences.showAgain(SETTINGS_NEWS)); + showNotification.set(preferences.showAgain(SETTINGS_BADGE_KEY)); } } diff --git a/desktop/src/main/java/bisq/desktop/main/settings/SettingsView.java b/desktop/src/main/java/bisq/desktop/main/settings/SettingsView.java index 440bd58d20a..771df416cd1 100644 --- a/desktop/src/main/java/bisq/desktop/main/settings/SettingsView.java +++ b/desktop/src/main/java/bisq/desktop/main/settings/SettingsView.java @@ -89,7 +89,7 @@ else if (newValue == aboutTab) @Override protected void activate() { // Hide new badge if user saw this section - preferences.dontShowAgain(SettingsPresentation.SETTINGS_NEWS, true); + preferences.dontShowAgain(SettingsPresentation.SETTINGS_BADGE_KEY, true); root.getSelectionModel().selectedItemProperty().addListener(tabChangeListener); navigation.addListener(navigationListener);