nvm this better
Some checks are pending
Build and Release IPA / Build IPA (push) Waiting to run

This commit is contained in:
Francesco 2025-04-26 23:02:10 +02:00
parent 3ca0610544
commit 8f76989ae8

View file

@ -195,7 +195,7 @@ struct SubtitleSettingsSection: View {
HStack { HStack {
Text("-10s") Text("-10s")
.font(.system(size: 12)) .font(.system(size: 12))
.foregroundColor(.gray) .foregroundColor(.secondary)
Slider(value: $subtitleDelay, in: -10...10, step: 0.1) Slider(value: $subtitleDelay, in: -10...10, step: 0.1)
.onChange(of: subtitleDelay) { newValue in .onChange(of: subtitleDelay) { newValue in
@ -206,17 +206,9 @@ struct SubtitleSettingsSection: View {
Text("+10s") Text("+10s")
.font(.system(size: 12)) .font(.system(size: 12))
.foregroundColor(.gray) .foregroundColor(.secondary)
} }
} }
Button("Reset Subtitle Timing") {
subtitleDelay = 0.0
SubtitleSettingsManager.shared.update { settings in
settings.subtitleDelay = 0.0
}
}
.foregroundColor(.accentColor)
} }
} }
} }