diff --git a/Sources/Purace/Views/Complex/Image Viewer/PuraceImageViewer.swift b/Sources/Purace/Views/Complex/Image Viewer/PuraceImageViewer.swift index 810fb90..3c30c78 100644 --- a/Sources/Purace/Views/Complex/Image Viewer/PuraceImageViewer.swift +++ b/Sources/Purace/Views/Complex/Image Viewer/PuraceImageViewer.swift @@ -161,6 +161,9 @@ extension PuraceImageViewer { private func hideView() { hideImage() + withAnimation { + backgroundOpacity = 0 + } DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) { isVisible = false }