kopia lustrzana https://github.com/ryukoposting/Signal-Android
Do not display recovery card if entropy is not set.
rodzic
ec3ec969eb
commit
91f6cff4df
|
@ -78,7 +78,7 @@ public class InfoCard implements MappingModel<InfoCard> {
|
||||||
List<InfoCard> infoCards = new ArrayList<>(Type.values().length);
|
List<InfoCard> infoCards = new ArrayList<>(Type.values().length);
|
||||||
PaymentsValues paymentsValues = SignalStore.paymentsValues();
|
PaymentsValues paymentsValues = SignalStore.paymentsValues();
|
||||||
|
|
||||||
if (!paymentsValues.isMnemonicConfirmed()) {
|
if (!paymentsValues.isMnemonicConfirmed() && paymentsValues.hasPaymentsEntropy()) {
|
||||||
infoCards.add(new InfoCard(R.string.payment_info_card_save_recovery_phrase,
|
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_your_recovery_phrase_gives_you,
|
||||||
R.string.payment_info_card_save_your_phrase,
|
R.string.payment_info_card_save_your_phrase,
|
||||||
|
|
Ładowanie…
Reference in New Issue