Skip to content

Commit

Permalink
Remove view from intermediate container after snapshot (#1985)
Browse files Browse the repository at this point in the history
Otherwise you cannot snapshot twice.
  • Loading branch information
JakeWharton authored Apr 22, 2024
1 parent daf8f5a commit 8f1fbd1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ class ViewBoxTest(
}
container.addView(value)
paparazzi.snapshot(container)
container.removeView(value)
}
}

0 comments on commit 8f1fbd1

Please sign in to comment.