Fix button animation

This commit is contained in:
Arkadiusz Fal 2022-12-20 23:22:17 +01:00
parent 32e98b6410
commit 859efb2dbe

View File

@ -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)