Don't backup when updating last used and on move

This commit is contained in:
Jakob Nixdorf 2020-06-05 06:56:32 +02:00
parent 34a7875c4b
commit fff5a9079d
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -475,7 +475,7 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
entries.get(realIndex).setLastUsed(timeStamp);
entries.get(realIndex).setUsedFrequency(entryUsedFrequency + 1);
saveEntries(settings.getAutoBackupEncryptedFullEnabled());
saveEntries(false);
if (sortMode == SortMode.LAST_USED) {
displayedEntries = sortEntries(displayedEntries);
@ -498,7 +498,7 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
displayedEntries = new ArrayList<>(entries);
notifyItemMoved(fromPosition, toPosition);
saveEntries(settings.getAutoBackupEncryptedFullEnabled());
saveEntries(false);
}
return true;