Skip to content

Commit

Permalink
fix: dismiss background animation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
juandahurt committed Jun 27, 2022
1 parent 4908739 commit e3aaaf4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ extension PuraceImageViewer {

private func hideView() {
hideImage()
withAnimation {
backgroundOpacity = 0
}
DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
isVisible = false
}
Expand Down

0 comments on commit e3aaaf4

Please sign in to comment.