mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 13:16:44 +00:00
followup
This commit is contained in:
parent
5475a81e3a
commit
7258b049c9
2 changed files with 3 additions and 2 deletions
2
drongo
2
drongo
|
@ -1 +1 @@
|
||||||
Subproject commit d0afa0987021284f11c45a51ffccbf7cb6d13ca2
|
Subproject commit 6868b026fbc1c5093bbad7db32b14e00c78717f2
|
|
@ -1,6 +1,7 @@
|
||||||
package com.sparrowwallet.sparrow.control;
|
package com.sparrowwallet.sparrow.control;
|
||||||
|
|
||||||
import com.sparrowwallet.drongo.Utils;
|
import com.sparrowwallet.drongo.Utils;
|
||||||
|
import com.sparrowwallet.drongo.pgp.PGPKeySource;
|
||||||
import com.sparrowwallet.drongo.pgp.PGPUtils;
|
import com.sparrowwallet.drongo.pgp.PGPUtils;
|
||||||
import com.sparrowwallet.drongo.pgp.PGPVerificationException;
|
import com.sparrowwallet.drongo.pgp.PGPVerificationException;
|
||||||
import com.sparrowwallet.drongo.pgp.PGPVerificationResult;
|
import com.sparrowwallet.drongo.pgp.PGPVerificationResult;
|
||||||
|
@ -283,7 +284,7 @@ public class DownloadVerifierDialog extends Dialog<ButtonBar.ButtonData> {
|
||||||
signedBy.setText(message);
|
signedBy.setText(message);
|
||||||
signedBy.setGraphic(result.expired() ? GlyphUtils.getWarningGlyph() : GlyphUtils.getSuccessGlyph());
|
signedBy.setGraphic(result.expired() ? GlyphUtils.getWarningGlyph() : GlyphUtils.getSuccessGlyph());
|
||||||
|
|
||||||
if(!result.expired() && !result.userProvidedKey()) {
|
if(!result.expired() && result.keySource() != PGPKeySource.USER) {
|
||||||
publicKeyDisabled.set(true);
|
publicKeyDisabled.set(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue