mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Only add delay if not devmode
This commit is contained in:
parent
2e384ede59
commit
9d8c705104
@ -244,8 +244,11 @@ public class FilterWindow extends Overlay<FilterWindow> {
|
||||
// working as expected)
|
||||
if (filterManager.canRemoveDevFilter(privKeyString)) {
|
||||
filterManager.removeDevFilter(privKeyString);
|
||||
UserThread.runAfter(() -> addDevFilter(removeFilterMessageButton, privKeyString, newFilter),
|
||||
5);
|
||||
if (DevEnv.isDevMode()) {
|
||||
addDevFilter(removeFilterMessageButton, privKeyString, newFilter);
|
||||
} else {
|
||||
UserThread.runAfter(() -> addDevFilter(removeFilterMessageButton, privKeyString, newFilter), 5);
|
||||
}
|
||||
} else {
|
||||
addDevFilter(removeFilterMessageButton, privKeyString, newFilter);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user