mirror of
https://github.com/cranci1/Sora.git
synced 2026-05-20 16:52:16 +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))
|
.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)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue