BlockchainSecurity2Go-Android icon indicating copy to clipboard operation
BlockchainSecurity2Go-Android copied to clipboard

Vibration feedback when transaction successful

Open joseluu opened this issue 4 years ago • 0 comments

When transacting one has to keep the card on the reader for some time, a vibration feedback after the time has elapsed is a welcome confirmation for the user.

FIle SendTransactionActivity.java around line 255 For instance: 255 if (response.first.getError() != null) { vibrateWarn(this); showToast(response.first.getError().getMessage(), this); } else { vibrateOK(this); showToast(getString(R.string.send_success), this); } } catch (IOException e) { vibrateWarn(this); showToast(getString(R.string.lost_tag), this); Log.e(TAG, "IOException while sending ether transaction", e);

joseluu avatar Feb 23 '21 16:02 joseluu