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

add: setChanged to match Java interface

This commit is contained in:
David Allison 2021-08-31 15:16:08 +01:00 committed by Mike Hardy
parent 997c33385b
commit 7c3a7a9ed4

View File

@ -438,6 +438,11 @@ class ModelsV16(private val col: Collection) {
// intentionally blank - not needed
}
@RustCleanup("Unused ")
fun setChanged() {
// intentionally blank - not needed
}
@RustCleanup("Only exists for interface compatibility")
fun getModels(): Map<Long, NoteType> = all().map { Pair(it.id, it) }.toMap()