mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Fix bug in codeIsRevealed when recycling entries
This commit is contained in:
parent
d57fc8b79a
commit
16bf195ac0
2 changed files with 6 additions and 1 deletions
|
@ -261,6 +261,12 @@ public class EntryAdapter extends RecyclerView.Adapter<EntryHolder> implements I
|
|||
return period;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onViewDetachedFromWindow(final EntryHolder holder) {
|
||||
holder.hideCode();
|
||||
super.onViewDetachedFromWindow(holder);
|
||||
}
|
||||
|
||||
public boolean isPeriodUniform() {
|
||||
return getUniformPeriod() != -1;
|
||||
}
|
||||
|
|
|
@ -119,7 +119,6 @@ public class EntryHolder extends RecyclerView.ViewHolder {
|
|||
|
||||
public void refreshCode() {
|
||||
updateCode();
|
||||
_codeIsRevealed = true;
|
||||
}
|
||||
|
||||
public void revealCode() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue