mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 05:52:52 +00:00
Fix a couple UI inconsistencies
This commit is contained in:
parent
dfd720b406
commit
f1e14e6645
2 changed files with 8 additions and 2 deletions
|
@ -375,6 +375,7 @@ public class EntryAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
}
|
||||
|
||||
sortShownEntries();
|
||||
checkPeriodUniformity();
|
||||
_view.onListChange();
|
||||
notifyDataSetChanged();
|
||||
}
|
||||
|
@ -669,6 +670,10 @@ public class EntryAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (infos.size() == 1) {
|
||||
return infos.get(0).getPeriod();
|
||||
}
|
||||
|
||||
Map<Integer, Integer> occurrences = new HashMap<>();
|
||||
for (TotpInfo info : infos) {
|
||||
int period = info.getPeriod();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue