try to fix race condition with empty trust ui
This commit is contained in:
parent
3218ca3fe3
commit
9408dd597a
|
@ -333,9 +333,13 @@ public class TrustKeysActivity extends OmemoActivity implements OnKeyStatusUpdat
|
||||||
processFingerprintVerification(this.mPendingFingerprintVerificationUri);
|
processFingerprintVerification(this.mPendingFingerprintVerificationUri);
|
||||||
this.mPendingFingerprintVerificationUri = null;
|
this.mPendingFingerprintVerificationUri = null;
|
||||||
} else {
|
} else {
|
||||||
reloadFingerprints();
|
final boolean keysToTrust = reloadFingerprints();
|
||||||
populateView();
|
if (keysToTrust || hasPendingKeyFetches() || hasNoOtherTrustedKeys()) {
|
||||||
invalidateOptionsMenu();
|
populateView();
|
||||||
|
invalidateOptionsMenu();
|
||||||
|
} else {
|
||||||
|
finishOk(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue