Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions AnkiDroid/src/main/java/com/ichi2/anki/NoteEditor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,6 @@ class NoteEditor : AnkiActivity(), DeckSelectionListener, SubtitleListener, Tags
else -> {}
}

launchCatchingTask {
withCol {
addImageOcclusionNotetype()
}
}

if (addNote) {
editOcclusionsButton?.visibility = View.GONE
selectImageForOcclusionButton?.setOnClickListener {
Expand Down
3 changes: 0 additions & 3 deletions AnkiDroid/src/main/java/com/ichi2/libanki/Collection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,6 @@ open class Collection(
return backend.clozeNumbersInNote(n.toBackendNote())
.sorted()
}
fun addImageOcclusionNotetype() {
backend.addImageOcclusionNotetype()
}

fun getImageForOcclusionRaw(input: ByteArray): ByteArray {
return backend.getImageForOcclusionRaw(input = input)
Expand Down