diff --git a/core/src/main/resources/i18n/displayStrings.properties b/core/src/main/resources/i18n/displayStrings.properties index 7e95ddf2dcc..e1367a2113a 100644 --- a/core/src/main/resources/i18n/displayStrings.properties +++ b/core/src/main/resources/i18n/displayStrings.properties @@ -3411,6 +3411,13 @@ popup.info.torMigration.msg=Your Bisq node is currently using a Tor v2 address. [HYPERLINK:https://bisq.wiki/Changing_your_onion_address] or in this video [HYPERLINK:https://bitcointv.com/videos/watch/f96adc20-4092-4253-84c0-1b18088b4b95]. \n\n\ Make sure to back up your data directory beforehand. +popup.arsBlueMarket.title=Blue rate market quotes for ARS +popup.arsBlueMarket.info=The Agrentinian Peso (ARS) market is using the `Blue Dollar` street price. \ + Please note the blue rate is experimental and has fewer providers than other markets. \n\ + We will add more providers in the coming months. \ + More info: [HYPERLINK:https://github.com/bisq-network/bisq/issues/6601] \ + [HYPERLINK:https://bluedollar.net/] + #################################################################### # Notifications #################################################################### diff --git a/desktop/src/main/java/bisq/desktop/main/MainViewModel.java b/desktop/src/main/java/bisq/desktop/main/MainViewModel.java index 7028400e083..85c80162219 100644 --- a/desktop/src/main/java/bisq/desktop/main/MainViewModel.java +++ b/desktop/src/main/java/bisq/desktop/main/MainViewModel.java @@ -320,6 +320,7 @@ public void onSetupComplete() { setupDevDummyPaymentAccounts(); } + maybeAddArsBlueMarketNotificationToQueue(); getShowAppScreen().set(true); } @@ -897,6 +898,20 @@ public BooleanProperty getShowSettingsUpdatesNotification() { return settingsPresentation.getShowSettingsUpdatesNotification(); } + private void maybeAddArsBlueMarketNotificationToQueue() { + String key = "arsBlueMarketNotificationPopup"; + if (DontShowAgainLookup.showAgain(key)) { + Popup popup = new Popup() + .headLine(Res.get("popup.arsBlueMarket.title")) + .information(Res.get("popup.arsBlueMarket.info")) + .actionButtonText(Res.get("shared.iUnderstand")) + .hideCloseButton() + .dontShowAgainId(key); + popup.setDisplayOrderPriority(1); + popupQueue.add(popup); + } + } + private void maybeShowPopupsFromQueue() { if (!popupQueue.isEmpty()) { Overlay overlay = popupQueue.poll();