test animation
Some checks are pending
Build and Release / Build IPA (push) Waiting to run
Build and Release / Build Mac Catalyst (push) Waiting to run

This commit is contained in:
Francesco 2025-06-02 09:14:20 +02:00
parent d0ac33afb9
commit 0962fd15d1

View file

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