use of bisq.core.filter.FilterManager in project bisq-desktop by bisq-network.
the class BisqApp method showFilterPopup.
private void showFilterPopup() {
FilterManager filterManager = injector.getInstance(FilterManager.class);
boolean useDevPrivilegeKeys = injector.getInstance(Key.get(Boolean.class, Names.named(AppOptionKeys.USE_DEV_PRIVILEGE_KEYS)));
new FilterWindow(filterManager, useDevPrivilegeKeys).onAddFilter(filterManager::addFilterMessageIfKeyIsValid).onRemoveFilter(filterManager::removeFilterMessageIfKeyIsValid).show();
}
Aggregations