File tree 1 file changed +6
-6
lines changed
apps/Test App/Test App/Screens 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,23 +17,23 @@ struct UploadListScreen: View {
17
17
WindowBackground
18
18
VStack ( spacing: 0 ) {
19
19
MuxNavBar ( )
20
- ListContianer ( )
20
+ ListContainerView ( )
21
21
}
22
22
}
23
23
}
24
24
}
25
25
26
- fileprivate struct ListContianer : View {
26
+ fileprivate struct ListContainerView : View {
27
27
28
- @EnvironmentObject var listVM : UploadListModel
28
+ @EnvironmentObject var viewModel : UploadListModel
29
29
30
30
var body : some View {
31
- if listVM . lastKnownUploads. isEmpty {
31
+ if viewModel . lastKnownUploads. isEmpty {
32
32
EmptyList ( )
33
33
} else {
34
34
ScrollView {
35
35
LazyVStack {
36
- ForEach ( listVM . lastKnownUploads, id: \. self) { upload in
36
+ ForEach ( viewModel . lastKnownUploads, id: \. self) { upload in
37
37
ListItem ( upload: upload)
38
38
}
39
39
}
@@ -188,7 +188,7 @@ struct ListContent_Previews: PreviewProvider {
188
188
static var previews : some View {
189
189
ZStack ( alignment: . top) {
190
190
WindowBackground
191
- ListContianer ( )
191
+ ListContainerView ( )
192
192
}
193
193
. environmentObject ( UploadListModel ( ) )
194
194
}
You can’t perform that action at this time.
0 commit comments