use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class SpecificWalletActivity method onAddFundsButtonClicked.
@OnClick(R.id.add_funds)
public void onAddFundsButtonClicked() {
if (model.getCurrency().equals(Currency.BNB.getValue())) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.ic_report_problem_black_24dp, getString(R.string.warning).toUpperCase(), getString(R.string.bnb_deposit_warning), getString(R.string.i_understand_it), false, () -> DepositWalletActivity.startWith(this, model));
} else {
DepositWalletActivity.startWith(this, model);
}
}
Aggregations