1
0
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:
Arkadiusz Fal 2022-12-18 14:04:50 +01:00
parent af85c67163
commit b90c856e21

View File

@ -250,10 +250,11 @@ struct VideoBanner: View {
}
@ViewBuilder private var timeView: some View {
VStack(alignment: .trailing, spacing: 2) {
VStack(alignment: .trailing) {
PlayingIndicatorView(video: video, height: 10)
.frame(width: 12, alignment: .trailing)
.padding(.trailing, 3)
.padding(.bottom, timeLabel == nil ? 3 : 0)
if let timeLabel {
Text(timeLabel)