From 859efb2dbeab1247d3bf5828e93f927e0a00c896 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 20 Dec 2022 23:22:17 +0100 Subject: [PATCH] Fix button animation --- Shared/Player/Video Details/VideoDetails.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Shared/Player/Video Details/VideoDetails.swift b/Shared/Player/Video Details/VideoDetails.swift index cbeeff04..d328d052 100644 --- a/Shared/Player/Video Details/VideoDetails.swift +++ b/Shared/Player/Video Details/VideoDetails.swift @@ -118,6 +118,7 @@ struct VideoDetails: View { .frame(width: 200, alignment: .leading) .transaction { t in t.animation = nil } } + .animation(nil, value: descriptionVisibility) .modifier(SettingsPickerModifier()) .offset(x: 15, y: 5) .opacity(descriptionVisibility ? 1 : 0)