mirror of
https://github.com/yattee/yattee.git
synced 2026-05-11 18:05:03 +00:00
Remove tvOS scrub hint labels from progress bar
This commit is contained in:
@@ -7063,26 +7063,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"player.tvos.scrubHint" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Press to scrub"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"player.tvos.seekHint" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Swipe ← → • press to seek"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"player.tvos.volumeDown" : {
|
||||
"extractionState" : "stale",
|
||||
"localizations" : {
|
||||
|
||||
@@ -198,19 +198,6 @@ struct TVPlayerProgressBar: View {
|
||||
|
||||
Spacer()
|
||||
|
||||
// Scrub hint when focused (only for non-live)
|
||||
if !isLive && isFocused && !isScrubbing {
|
||||
Text(String(localized: "player.tvos.scrubHint"))
|
||||
.font(.caption)
|
||||
.foregroundStyle(.white.opacity(0.5))
|
||||
} else if !isLive && isScrubbing {
|
||||
Text(String(localized: "player.tvos.seekHint"))
|
||||
.font(.caption)
|
||||
.foregroundStyle(.white.opacity(0.7))
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
||||
// Remaining time (only for non-live)
|
||||
if !isLive {
|
||||
Text("-\(max(0, duration - displayTime).formattedAsTimestamp)")
|
||||
|
||||
Reference in New Issue
Block a user