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:
parent
df011a9531
commit
cab199935a
@ -95,7 +95,7 @@ public class NoteImporter extends Importer {
|
||||
|
||||
|
||||
/** The number of fields.*/
|
||||
protected int fields() {
|
||||
public int fields() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ public class TextImporter extends NoteImporter {
|
||||
|
||||
/** Number of fields. */
|
||||
@Override
|
||||
protected int fields() {
|
||||
public int fields() {
|
||||
open();
|
||||
return mNumFields;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user