Updated on 2026-08-14
This commit is contained in:
parent
c19268210d
commit
7e618664bf
7 changed files with 14 additions and 24 deletions
|
|
@ -594,10 +594,6 @@ public class ConfirmPaymentActivity extends AppCompatActivity implements NfcAdap
|
|||
intent.putExtra("Card", mCard.getAsBundle());
|
||||
intent.putExtra("Wallet", etWallet.getText().toString());
|
||||
intent.putExtra(SignPaymentActivity.EXTRA_AMOUNT, etAmount.getText().toString());
|
||||
|
||||
// if (BuildConfig.DEBUG)
|
||||
// Toast.makeText(this, etAmount.getText().toString(), Toast.LENGTH_LONG).show();
|
||||
|
||||
intent.putExtra("Fee", etFee.getText().toString());
|
||||
startActivityForResult(intent, REQUEST_CODE_SIGN_PAYMENT);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ import android.widget.Button;
|
|||
import android.widget.EditText;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.tangem.domain.cardReader.NfcManager;
|
||||
import com.tangem.domain.wallet.Blockchain;
|
||||
|
|
@ -24,7 +23,6 @@ import com.tangem.domain.wallet.CoinEngine;
|
|||
import com.tangem.domain.wallet.CoinEngineFactory;
|
||||
import com.tangem.domain.wallet.TangemCard;
|
||||
import com.tangem.util.FormatUtil;
|
||||
import com.tangem.wallet.BuildConfig;
|
||||
import com.tangem.wallet.R;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
@ -141,9 +139,6 @@ public class PreparePaymentActivity extends AppCompatActivity implements NfcAdap
|
|||
String strAmount;
|
||||
strAmount = etAmount.getText().toString().replace(",", ".");
|
||||
|
||||
if (BuildConfig.DEBUG)
|
||||
Toast.makeText(this, strAmount, Toast.LENGTH_LONG).show();
|
||||
|
||||
CoinEngine engine1 = CoinEngineFactory.Create(mCard.getBlockchain());
|
||||
|
||||
Log.i(TAG, mCard.getBlockchain().getOfficialName());
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -561,7 +561,6 @@ public class LoadedWallet extends Fragment implements SwipeRefreshLayout.OnRefre
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
|
@ -702,6 +701,8 @@ public class LoadedWallet extends Fragment implements SwipeRefreshLayout.OnRefre
|
|||
startActivityForResult(intent, REQUEST_CODE_SEND_PAYMENT);
|
||||
});
|
||||
|
||||
tvWallet.setText(mCard.getWallet());
|
||||
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,6 @@ public class VerifyCard extends Fragment implements NfcAdapter.ReaderCallback {
|
|||
private SwipeRefreshLayout mSwipeRefreshLayout;
|
||||
private Tag lastTag;
|
||||
|
||||
|
||||
public VerifyCard() {
|
||||
|
||||
}
|
||||
|
|
@ -78,9 +77,6 @@ public class VerifyCard extends Fragment implements NfcAdapter.ReaderCallback {
|
|||
|
||||
mCard = new TangemCard(Objects.requireNonNull(getActivity()).getIntent().getStringExtra("UID"));
|
||||
mCard.LoadFromBundle(Objects.requireNonNull(getActivity().getIntent().getExtras()).getBundle("Card"));
|
||||
|
||||
|
||||
// LoadedWallet.needOpenVerify = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -384,7 +380,8 @@ public class VerifyCard extends Fragment implements NfcAdapter.ReaderCallback {
|
|||
|
||||
//tvBlockchain.setText(mCard.getBlockchain().getOfficialName());
|
||||
tvBlockchain.setText(mCard.getBlockchainName());
|
||||
ivBlockchain.setImageResource(mCard.getBlockchain().getImageResource(this.getContext(), mCard.getTokenSymbol()));
|
||||
|
||||
ivBlockchain.setImageResource(mCard.getBlockchain().getImageResource(getContext(), mCard.getTokenSymbol()));
|
||||
|
||||
if (mCard.isReusable())
|
||||
tvReusable.setText(R.string.reusable);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue