0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 20:03:05 +02:00

feat: expose field count publicly

This commit is contained in:
David Allison 2021-08-22 18:57:21 +01:00 committed by Mike Hardy
parent df011a9531
commit cab199935a
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ public class NoteImporter extends Importer {
/** The number of fields.*/
protected int fields() {
public int fields() {
return 0;
}

View File

@ -103,7 +103,7 @@ public class TextImporter extends NoteImporter {
/** Number of fields. */
@Override
protected int fields() {
public int fields() {
open();
return mNumFields;
}