mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
parent
fc452fe77b
commit
1d7415bbf1
1 changed files with 1 additions and 3 deletions
|
|
@ -318,12 +318,10 @@ 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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue