Do not display recovery card if entropy is not set.

main
Alex Hart 2023-01-04 14:25:52 -04:00 zatwierdzone przez Greyson Parrelli
rodzic ec3ec969eb
commit 91f6cff4df
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -78,7 +78,7 @@ public class InfoCard implements MappingModel<InfoCard> {
List<InfoCard> infoCards = new ArrayList<>(Type.values().length);
PaymentsValues paymentsValues = SignalStore.paymentsValues();
if (!paymentsValues.isMnemonicConfirmed()) {
if (!paymentsValues.isMnemonicConfirmed() && paymentsValues.hasPaymentsEntropy()) {
infoCards.add(new InfoCard(R.string.payment_info_card_save_recovery_phrase,
R.string.payment_info_card_your_recovery_phrase_gives_you,
R.string.payment_info_card_save_your_phrase,