Revert "test animation"

This reverts commit 0962fd15d1.
This commit is contained in:
Francesco 2025-06-03 18:05:40 +02:00
parent fc452fe77b
commit 1d7415bbf1

View file

@ -318,12 +318,10 @@ struct MediaInfoView: View {
.font(.system(size: 16)) .font(.system(size: 16))
.foregroundColor(.secondary) .foregroundColor(.secondary)
.lineLimit(showFullSynopsis ? nil : 3) .lineLimit(showFullSynopsis ? nil : 3)
.animation(nil, value: showFullSynopsis)
Text(showFullSynopsis ? "LESS" : "MORE") Text(showFullSynopsis ? "LESS" : "MORE")
.font(.system(size: 16, weight: .bold)) .font(.system(size: 16, weight: .bold))
.foregroundColor(.accentColor) .foregroundColor(.accentColor)
.animation(.easeInOut(duration: 0.3), value: showFullSynopsis)
} }
.onTapGesture { .onTapGesture {
withAnimation(.easeInOut(duration: 0.3)) { withAnimation(.easeInOut(duration: 0.3)) {