|
|
|
@ -98,7 +98,7 @@ struct PlayerControlsView: View { |
|
|
|
Text(Self.formatTime(currentTime)) |
|
|
|
Text(Self.formatTime(currentTime)) |
|
|
|
.font(.system(size: 10).monospacedDigit()) |
|
|
|
.font(.system(size: 10).monospacedDigit()) |
|
|
|
.foregroundStyle(.secondary) |
|
|
|
.foregroundStyle(.secondary) |
|
|
|
.frame(width: 35, alignment: .trailing) |
|
|
|
.frame(width: 45, alignment: .trailing) |
|
|
|
|
|
|
|
|
|
|
|
Slider( |
|
|
|
Slider( |
|
|
|
value: Binding( |
|
|
|
value: Binding( |
|
|
|
@ -112,7 +112,7 @@ struct PlayerControlsView: View { |
|
|
|
Text(Self.formatTime(duration)) |
|
|
|
Text(Self.formatTime(duration)) |
|
|
|
.font(.system(size: 10).monospacedDigit()) |
|
|
|
.font(.system(size: 10).monospacedDigit()) |
|
|
|
.foregroundStyle(.secondary) |
|
|
|
.foregroundStyle(.secondary) |
|
|
|
.frame(width: 35, alignment: .leading) |
|
|
|
.frame(width: 45, alignment: .leading) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.frame(maxWidth: 400) |
|
|
|
.frame(maxWidth: 400) |
|
|
|
|