Use 60 days for TTL for alert. Cleanups.

This commit is contained in:
Manfred Karrer 2018-01-10 22:21:32 +01:00
parent 5d87e5e9c7
commit 27d1083380
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46
4 changed files with 7 additions and 10 deletions

View File

@ -119,7 +119,7 @@ public final class Alert implements ProtectedStoragePayload {
@Override @Override
public long getTTL() { public long getTTL() {
return TimeUnit.DAYS.toMillis(30); return TimeUnit.DAYS.toMillis(60);
} }
public void setSigAndPubKey(String signatureAsBase64, PublicKey ownerPubKey) { public void setSigAndPubKey(String signatureAsBase64, PublicKey ownerPubKey) {

View File

@ -323,12 +323,9 @@ public class TraderDisputeView extends ActivatableView<VBox, Void> {
.show(); .show();
} }
} else if (Utilities.isAltOrCtrlPressed(KeyCode.ENTER, event)) { } else if (Utilities.isAltOrCtrlPressed(KeyCode.ENTER, event)) {
if (selectedDispute != null) { if (selectedDispute != null && messagesInputBox.isVisible() && inputTextArea.isFocused())
if (messagesInputBox.isVisible() && inputTextArea.isFocused()) {
onTrySendMessage(); onTrySendMessage();
} }
}
}
}; };
} }

View File

@ -34,7 +34,7 @@ import java.security.Security;
@Slf4j @Slf4j
public class Monitor { public class Monitor {
public static final String VERSION = "1.0.0"; public static final String VERSION = "1.0.1";
private static MonitorEnvironment environment; private static MonitorEnvironment environment;
@Getter @Getter