Skip to content

Commit 820b249

Browse files
Update media-placeholders/src/main/java/org/wordpress/aztec/placeholders/ViewPlaceholderManager.kt
Co-authored-by: Amanda Riu <[email protected]>
1 parent 6fc9025 commit 820b249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media-placeholders/src/main/java/org/wordpress/aztec/placeholders/ViewPlaceholderManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class ViewPlaceholderManager(
9696
* @param type placeholder type
9797
* @param attributes other attributes passed to the view. For example a `src` for an image.
9898
*/
99-
suspend override fun insertItem(type: String, vararg attributes: Pair<String, String>) {
99+
override suspend fun insertItem(type: String, vararg attributes: Pair<String, String>) {
100100
val adapter = adapters[type]
101101
?: throw IllegalArgumentException("Adapter for inserted type not found. Register it with `registerAdapter` method")
102102
val attrs = getAttributesForMedia(type, attributes)

0 commit comments

Comments
 (0)