Skip to content

Commit 8a76976

Browse files
committed
Minor example app renaming (#29)
1 parent 13d1b66 commit 8a76976

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/Test App/Test App/Screens/UploadListView.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ struct UploadListScreen: View {
1717
WindowBackground
1818
VStack(spacing: 0) {
1919
MuxNavBar()
20-
ListContianer()
20+
ListContainerView()
2121
}
2222
}
2323
}
2424
}
2525

26-
fileprivate struct ListContianer: View {
26+
fileprivate struct ListContainerView: View {
2727

28-
@EnvironmentObject var listVM: UploadListModel
28+
@EnvironmentObject var viewModel: UploadListModel
2929

3030
var body: some View {
31-
if listVM.lastKnownUploads.isEmpty {
31+
if viewModel.lastKnownUploads.isEmpty {
3232
EmptyList()
3333
} else {
3434
ScrollView {
3535
LazyVStack {
36-
ForEach(listVM.lastKnownUploads, id: \.self) { upload in
36+
ForEach(viewModel.lastKnownUploads, id: \.self) { upload in
3737
ListItem(upload: upload)
3838
}
3939
}
@@ -188,7 +188,7 @@ struct ListContent_Previews: PreviewProvider {
188188
static var previews: some View {
189189
ZStack(alignment: .top) {
190190
WindowBackground
191-
ListContianer()
191+
ListContainerView()
192192
}
193193
.environmentObject(UploadListModel())
194194
}

0 commit comments

Comments
 (0)