mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
ok fixed the subtitles having HTML tags
Some checks are pending
Build and Release IPA / Build IPA (push) Waiting to run
Some checks are pending
Build and Release IPA / Build IPA (push) Waiting to run
This commit is contained in:
parent
152b4d585f
commit
4bb2d77c74
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ struct CustomMediaPlayer: View {
|
|||
VStack {
|
||||
Spacer()
|
||||
if let currentCue = subtitlesLoader.cues.first(where: { currentTime >= $0.startTime && currentTime <= $0.endTime }) {
|
||||
Text(currentCue.text)
|
||||
Text(currentCue.text.strippedHTML)
|
||||
.font(.system(size: CGFloat(subtitleFontSize)))
|
||||
.multilineTextAlignment(.center)
|
||||
.padding(8)
|
||||
|
|
|
|||
Loading…
Reference in a new issue