Skip to content

Commit

Permalink
Update BaseDispatcher.kt (#2505)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgCantor authored Nov 5, 2024
1 parent 75366d5 commit bf5214a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions picasso/src/main/java/com/squareup/picasso3/BaseDispatcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -353,14 +353,8 @@ internal abstract class BaseDispatcher internal constructor(
}

private fun markForReplay(hunter: BitmapHunter) {
val action = hunter.action
action?.let { markForReplay(it) }
val joined = hunter.actions
if (joined != null) {
for (i in joined.indices) {
markForReplay(joined[i])
}
}
hunter.action?.let { markForReplay(it) }
hunter.actions?.forEach { markForReplay(it) }
}

private fun markForReplay(action: Action) {
Expand Down

0 comments on commit bf5214a

Please # to comment.