Don't backup when updating last used and on move
This commit is contained in:
parent
34a7875c4b
commit
fff5a9079d
1 changed files with 2 additions and 2 deletions
|
@ -475,7 +475,7 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
||||||
|
|
||||||
entries.get(realIndex).setLastUsed(timeStamp);
|
entries.get(realIndex).setLastUsed(timeStamp);
|
||||||
entries.get(realIndex).setUsedFrequency(entryUsedFrequency + 1);
|
entries.get(realIndex).setUsedFrequency(entryUsedFrequency + 1);
|
||||||
saveEntries(settings.getAutoBackupEncryptedFullEnabled());
|
saveEntries(false);
|
||||||
|
|
||||||
if (sortMode == SortMode.LAST_USED) {
|
if (sortMode == SortMode.LAST_USED) {
|
||||||
displayedEntries = sortEntries(displayedEntries);
|
displayedEntries = sortEntries(displayedEntries);
|
||||||
|
@ -498,7 +498,7 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
||||||
displayedEntries = new ArrayList<>(entries);
|
displayedEntries = new ArrayList<>(entries);
|
||||||
notifyItemMoved(fromPosition, toPosition);
|
notifyItemMoved(fromPosition, toPosition);
|
||||||
|
|
||||||
saveEntries(settings.getAutoBackupEncryptedFullEnabled());
|
saveEntries(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue