Skip to content

Commit b7ff951

Browse files
author
VishwaiOSDev
committed
refactor: made some UI Changes
1 parent 22ebcfe commit b7ff951

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

Loadify/View/DownloadView.swift

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ struct DownloadView: View {
6464
} image: {
6565
thumbnailModifier(image: $0)
6666
} onLoading: {
67-
ProgressView()
67+
progressView
68+
.frame(minHeight: 188)
6869
}
6970
durationView
7071
.offset(x: -5, y: -5)
@@ -79,6 +80,12 @@ struct DownloadView: View {
7980
.clipped()
8081
}
8182

83+
private var progressView: some View {
84+
ZStack {
85+
ProgressView()
86+
}
87+
}
88+
8289
private var durationView: some View {
8390
Text(details.lengthSeconds.getDuration)
8491
.font(.inter(.regular(size: 10)))

0 commit comments

Comments
 (0)