Skip to content

Commit

Permalink
Update media-placeholders/src/main/java/org/wordpress/aztec/placehold…
Browse files Browse the repository at this point in the history
…ers/ViewPlaceholderManager.kt

Co-authored-by: Amanda Riu <[email protected]>
  • Loading branch information
planarvoid and AmandaRiu authored Jan 23, 2025
1 parent 6fc9025 commit 820b249
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ViewPlaceholderManager(
* @param type placeholder type
* @param attributes other attributes passed to the view. For example a `src` for an image.
*/
suspend override fun insertItem(type: String, vararg attributes: Pair<String, String>) {
override suspend fun insertItem(type: String, vararg attributes: Pair<String, String>) {
val adapter = adapters[type]
?: throw IllegalArgumentException("Adapter for inserted type not found. Register it with `registerAdapter` method")
val attrs = getAttributesForMedia(type, attributes)
Expand Down

0 comments on commit 820b249

Please sign in to comment.