0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00

Set Basic2Model as internal to follow original visibility

This commit is contained in:
lukstbit 2022-09-14 19:13:42 +03:00 committed by Brayan Oliveira
parent 37eb960d1b
commit 989b63ec94

View File

@ -4,7 +4,7 @@ package com.ichi2.anki.api
/**
* Definitions of the basic with reverse model
*/
object Basic2Model {
internal object Basic2Model {
@JvmField // required for Java API
val FIELDS = arrayOf("Front", "Back")
// List of card names that will be used in AnkiDroid (one for each direction of learning)
@ -12,9 +12,9 @@ object Basic2Model {
val CARD_NAMES = arrayOf("Card 1", "Card 2")
// Template for the question of each card
@JvmField // required for Java API
val QFMT = arrayOf("{{Front}}", "{{Back}}")
internal val QFMT = arrayOf("{{Front}}", "{{Back}}")
@JvmField // required for Java API
val AFMT = arrayOf(
internal val AFMT = arrayOf(
"{{FrontSide}}\n\n<hr id=\"answer\">\n\n{{Back}}",
"{{FrontSide}}\n\n<hr id=\"answer\">\n\n{{Front}}"
)