add ability to distrust inactive/trusted keys
This commit is contained in:
parent
0f2e60d576
commit
b0a8da35db
|
@ -60,7 +60,7 @@ public abstract class OmemoActivity extends XmppActivity {
|
||||||
if (!status.isActive() || status.isVerified()) {
|
if (!status.isActive() || status.isVerified()) {
|
||||||
verifyScan.setVisible(false);
|
verifyScan.setVisible(false);
|
||||||
}
|
}
|
||||||
distrust.setVisible(status.isVerified());
|
distrust.setVisible(status.isVerified() || (!status.isActive() && status.isTrusted()));
|
||||||
}
|
}
|
||||||
this.mSelectedAccount = (Account) account;
|
this.mSelectedAccount = (Account) account;
|
||||||
this.mSelectedFingerprint = (String) fingerprint;
|
this.mSelectedFingerprint = (String) fingerprint;
|
||||||
|
|
Loading…
Reference in a new issue