Search in sources :

Example 1 with SendAlertMessageWindow

use of bisq.desktop.main.overlays.windows.SendAlertMessageWindow in project bisq-desktop by bisq-network.

the class BisqApp method showSendAlertMessagePopup.

private void showSendAlertMessagePopup() {
    AlertManager alertManager = injector.getInstance(AlertManager.class);
    boolean useDevPrivilegeKeys = injector.getInstance(Key.get(Boolean.class, Names.named(AppOptionKeys.USE_DEV_PRIVILEGE_KEYS)));
    new SendAlertMessageWindow(useDevPrivilegeKeys).onAddAlertMessage(alertManager::addAlertMessageIfKeyIsValid).onRemoveAlertMessage(alertManager::removeAlertMessageIfKeyIsValid).show();
}
Also used : AlertManager(bisq.core.alert.AlertManager) SendAlertMessageWindow(bisq.desktop.main.overlays.windows.SendAlertMessageWindow)

Aggregations

AlertManager (bisq.core.alert.AlertManager)1 SendAlertMessageWindow (bisq.desktop.main.overlays.windows.SendAlertMessageWindow)1