mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Fix banner indicator position
This commit is contained in:
@@ -250,10 +250,11 @@ struct VideoBanner: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ViewBuilder private var timeView: some View {
|
@ViewBuilder private var timeView: some View {
|
||||||
VStack(alignment: .trailing, spacing: 2) {
|
VStack(alignment: .trailing) {
|
||||||
PlayingIndicatorView(video: video, height: 10)
|
PlayingIndicatorView(video: video, height: 10)
|
||||||
.frame(width: 12, alignment: .trailing)
|
.frame(width: 12, alignment: .trailing)
|
||||||
.padding(.trailing, 3)
|
.padding(.trailing, 3)
|
||||||
|
.padding(.bottom, timeLabel == nil ? 3 : 0)
|
||||||
|
|
||||||
if let timeLabel {
|
if let timeLabel {
|
||||||
Text(timeLabel)
|
Text(timeLabel)
|
||||||
|
Reference in New Issue
Block a user