diff --git a/AnkiDroid/src/main/java/com/ichi2/anki/MediaRegistration.kt b/AnkiDroid/src/main/java/com/ichi2/anki/MediaRegistration.kt index 0bb437f8c822..2e672b51796f 100644 --- a/AnkiDroid/src/main/java/com/ichi2/anki/MediaRegistration.kt +++ b/AnkiDroid/src/main/java/com/ichi2/anki/MediaRegistration.kt @@ -87,7 +87,7 @@ class MediaRegistration(private val context: Context) { } val field = ImageField() field.hasTemporaryMedia = true - field.extraImagePathRef = tempFilePath + field.mediaPath = tempFilePath return field.formattedValue }