From 67384e5c3c29a91c94b93f9aa0e74ae34b6553ed Mon Sep 17 00:00:00 2001 From: Eric Andrews Date: Mon, 16 Dec 2024 18:03:18 -0500 Subject: [PATCH] tidy --- Mlem/App/Views/Pages/ImageViewer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mlem/App/Views/Pages/ImageViewer.swift b/Mlem/App/Views/Pages/ImageViewer.swift index 618db8b03..aadcfba55 100644 --- a/Mlem/App/Views/Pages/ImageViewer.swift +++ b/Mlem/App/Views/Pages/ImageViewer.swift @@ -92,7 +92,7 @@ struct ImageViewer: View { private func updateOpacity(_ newOpacity: CGFloat, callback: (() -> Void)? = nil) { withAnimation(.easeOut(duration: duration)) { - opacity = 0 + opacity = newOpacity } if let callback { DispatchQueue.main.asyncAfter(deadline: .now() + duration) {