Skip to content

Commit f336065

Browse files
Haz3-joltBrayanDSO
authored andcommitted
fixes #16389 IO type reappears when card is added.
1 parent 53609f6 commit f336065

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

AnkiDroid/src/main/java/com/ichi2/anki/NoteEditor.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,6 @@ class NoteEditor : AnkiActivity(), DeckSelectionListener, SubtitleListener, Tags
528528
else -> {}
529529
}
530530

531-
launchCatchingTask {
532-
withCol {
533-
addImageOcclusionNotetype()
534-
}
535-
}
536-
537531
if (addNote) {
538532
editOcclusionsButton?.visibility = View.GONE
539533
selectImageForOcclusionButton?.setOnClickListener {

AnkiDroid/src/main/java/com/ichi2/libanki/Collection.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,9 +661,6 @@ open class Collection(
661661
return backend.clozeNumbersInNote(n.toBackendNote())
662662
.sorted()
663663
}
664-
fun addImageOcclusionNotetype() {
665-
backend.addImageOcclusionNotetype()
666-
}
667664

668665
fun getImageForOcclusionRaw(input: ByteArray): ByteArray {
669666
return backend.getImageForOcclusionRaw(input = input)

0 commit comments

Comments
 (0)