Fix animation crash when using period of 7

pull/1654/head
Michael Schättgen 5 months ago
parent 62c0d273a5
commit 1c30557779

@ -426,7 +426,7 @@ public class EntryHolder extends RecyclerView.ViewHolder {
final int totalStateDuration = 7000;
TotpInfo info = (TotpInfo) _entry.getInfo();
if (info.getPeriod() * 1000 < totalStateDuration) {
if (info.getPeriod() * 1000 <= totalStateDuration) {
_profileCode.setTextColor(MaterialColors.getColor(_profileCode, com.google.android.material.R.attr.colorError));
return;
}

Loading…
Cancel
Save