Merge pull request #1561 from michaelschattgen/fix/import-multiple-entries

Add fix for importing multiple entries
pull/1577/head
Alexander Bakker 3 months ago committed by GitHub
commit fa073371b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -685,6 +685,10 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
if (entries.size() == 1) {
startEditEntryActivityForNew(entries.get(0));
} else if (entries.size() > 1) {
for (VaultEntry entry: entries) {
_vaultManager.getVault().addEntry(entry);
}
if (saveAndBackupVault()) {
Toast.makeText(this, getResources().getQuantityString(R.plurals.added_new_entries, entries.size(), entries.size()), Toast.LENGTH_LONG).show();
}

Loading…
Cancel
Save