@@ -141,7 +141,7 @@ class ComposePlaceholderManager(
141141 * @param type placeholder type
142142 * @param attributes other attributes passed to the view. For example a `src` for an image.
143143 */
144- override suspend fun insertItem (type : String , vararg attributes : Pair <String , String >) {
144+ suspend override fun insertItem (type : String , vararg attributes : Pair <String , String >) {
145145 val adapter = adapters[type]
146146 ? : throw IllegalArgumentException (" Adapter for inserted type not found. Register it with `registerAdapter` method" )
147147 val attrs = getAttributesForMedia(type, attributes)
@@ -162,7 +162,7 @@ class ComposePlaceholderManager(
162162 * @param shouldMergeItem this method should return true when the previous type is compatible and should be updated
163163 * @param updateItem function to update current parameters with new params
164164 */
165- override suspend fun insertOrUpdateItem (
165+ suspend override fun insertOrUpdateItem (
166166 type : String ,
167167 shouldMergeItem : (currentItemType: String ) -> Boolean ,
168168 updateItem : (
@@ -237,7 +237,7 @@ class ComposePlaceholderManager(
237237 * @param shouldUpdateItem This function should return true if the span can be updated, false if it should be removed
238238 * @param updateItem Function that updates the selected item
239239 */
240- override suspend fun removeOrUpdate (
240+ suspend override fun removeOrUpdate (
241241 uuid : String ,
242242 shouldUpdateItem : (Attributes ) -> Boolean ,
243243 updateItem : (currentAttributes: Map <String , String >) -> Map <String , String >
0 commit comments