mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 13:50:32 +05:30
Fix banner indicator position
This commit is contained in:
parent
af85c67163
commit
b90c856e21
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user