Fix quick search with magikeyboard

This commit is contained in:
J-Jamet committed 2018-07-28 09:37:26 +02:00
1 parent d6eae56d4f
commit 608f45677c
3 files changed
+30 -10

No files matched your search

@@ -210,9 +210,9 @@ public class Database {
try {
switch (getPwDatabase().getVersion()) {
case V3:
EntryCursor.addEntry(cursor, (PwEntryV3) entry, i);
EntryCursor.addEntry(cursor, i, (PwEntryV3) entry);
case V4:
EntryCursor.addEntry(cursor, (PwEntryV4) entry, i);
EntryCursor.addEntry(cursor, i, (PwEntryV4) entry);
}
} catch (Exception e) {
Log.e(TAG, "This version of PwGroup can't be populated", e);