Browse Source

fix set passphrase navigation issue

V1.1.0-btc-release
ZhangJun 5 years ago
parent
commit
0faa684a95
  1. 6
      app/src/main/java/com/cobo/cold/ui/fragment/PassphraseFragment.java

6
app/src/main/java/com/cobo/cold/ui/fragment/PassphraseFragment.java

@ -160,16 +160,10 @@ public class PassphraseFragment extends SetupVaultBaseFragment<PassphraseBinding
&& dialog.getDialog().isShowing()) {
dialog.dismiss();
}
if (TextUtils.isEmpty(passphrase1.get())) {
startActivity(new Intent(mActivity, MainActivity.class));
} else {
Navigation.findNavController(mActivity, R.id.nav_host_fragment)
.navigate(R.id.to_assetListFragment, data);
}
};
List<CoinEntity> coins = PresetData.generateCoins(mActivity);
viewModel.presetData(coins, onComplete);
}
});
}

Loading…
Cancel
Save