From 4cf695ee0450a04bfb7dafee8482e1eaf59736fe Mon Sep 17 00:00:00 2001 From: SanjaySargam Date: Wed, 24 Jul 2024 10:32:45 +0530 Subject: [PATCH] rename extraImagePathRef to mediaPath --- AnkiDroid/src/main/java/com/ichi2/anki/MediaRegistration.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }