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();
}
Aggregations