mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Minor improvements
This commit is contained in:
parent
584571fb71
commit
d4a5545db6
@ -94,9 +94,11 @@ final class PlayerControlsModel: ObservableObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func resetTimer() {
|
func resetTimer() {
|
||||||
if !presentingControls {
|
#if os(tvOS)
|
||||||
show()
|
if !presentingControls {
|
||||||
}
|
show()
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
removeTimer()
|
removeTimer()
|
||||||
timer = Timer.scheduledTimer(withTimeInterval: 5.0, repeats: false) { _ in
|
timer = Timer.scheduledTimer(withTimeInterval: 5.0, repeats: false) { _ in
|
||||||
|
@ -426,7 +426,7 @@ struct VideoDetails: View {
|
|||||||
|
|
||||||
var detailsPage: some View {
|
var detailsPage: some View {
|
||||||
Group {
|
Group {
|
||||||
Group {
|
VStack(alignment: .leading, spacing: 0) {
|
||||||
if let video = player.currentVideo {
|
if let video = player.currentVideo {
|
||||||
VStack(spacing: 6) {
|
VStack(spacing: 6) {
|
||||||
HStack {
|
HStack {
|
||||||
@ -440,6 +440,7 @@ struct VideoDetails: View {
|
|||||||
|
|
||||||
Divider()
|
Divider()
|
||||||
}
|
}
|
||||||
|
.padding(.bottom, 6)
|
||||||
|
|
||||||
VStack(alignment: .leading, spacing: 10) {
|
VStack(alignment: .leading, spacing: 10) {
|
||||||
if let description = video.description {
|
if let description = video.description {
|
||||||
|
Loading…
Reference in New Issue
Block a user