mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 10:25:02 +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" : {
|
"player.tvos.volumeDown" : {
|
||||||
"extractionState" : "stale",
|
"extractionState" : "stale",
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
|
|||||||
@@ -198,19 +198,6 @@ struct TVPlayerProgressBar: View {
|
|||||||
|
|
||||||
Spacer()
|
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)
|
// Remaining time (only for non-live)
|
||||||
if !isLive {
|
if !isLive {
|
||||||
Text("-\(max(0, duration - displayTime).formattedAsTimestamp)")
|
Text("-\(max(0, duration - displayTime).formattedAsTimestamp)")
|
||||||
|
|||||||
Reference in New Issue
Block a user