Skip to content

Commit a9d8f26

Browse files
committed
Rename refresh method
1 parent 4344e7f commit a9d8f26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class PlaceholderManager(
117117
/**
118118
* Call this method to reload all the placeholders
119119
*/
120-
suspend fun refresh() {
120+
suspend fun reloadAllPlaceholders() {
121121
positionToId.forEach {
122122
insertContentOverSpanWithId(it.uuid)
123123
}
@@ -226,7 +226,7 @@ class PlaceholderManager(
226226
*/
227227
override fun onContentChanged() {
228228
launch {
229-
refresh()
229+
reloadAllPlaceholders()
230230
}
231231
}
232232

0 commit comments

Comments
 (0)