mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-10 00:27:49 +00:00
Correctly display 8 digit codes
This commit is contained in:
parent
07c3e43160
commit
cba38b7b57
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public class KeyProfileHolder extends RecyclerView.ViewHolder {
|
||||||
|
|
||||||
// refresh the code
|
// refresh the code
|
||||||
String otp = _keyProfile.refreshCode();
|
String otp = _keyProfile.refreshCode();
|
||||||
_profileCode.setText(otp.substring(0, 3) + " " + otp.substring(3));
|
_profileCode.setText(otp.substring(0, otp.length() / 2) + " " + otp.substring(otp.length() / 2));
|
||||||
|
|
||||||
// calculate the progress the bar should start at
|
// calculate the progress the bar should start at
|
||||||
long millisTillRotation = _keyProfile.getEntry().getInfo().getMillisTillNextRotation();
|
long millisTillRotation = _keyProfile.getEntry().getInfo().getMillisTillNextRotation();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue