mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
Fix a no-result corner case, and make verifications clickable
This commit is contained in:
parent
4929e346a2
commit
3c19e6cfc1
@ -284,7 +284,7 @@ public class ViewKeyTrustFragment extends LoaderFragment implements
|
||||
@Override
|
||||
protected void onPostExecute(ResultPage result) {
|
||||
super.onPostExecute(result);
|
||||
if (result.mHeader == null) {
|
||||
if (result.mProofs.isEmpty()) {
|
||||
result.mHeader = getActivity().getString(R.string.key_trust_no_cloud_evidence);
|
||||
}
|
||||
|
||||
@ -425,6 +425,7 @@ public class ViewKeyTrustFragment extends LoaderFragment implements
|
||||
}
|
||||
mProofVerifyHeader.setVisibility(View.VISIBLE);
|
||||
mProofVerifyDetail.setVisibility(View.VISIBLE);
|
||||
mProofVerifyDetail.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
mProofVerifyDetail.setText(ssb);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user