Skip to content

Commit

Permalink
Fix a warning in demo app
Browse files Browse the repository at this point in the history
onevcat committed Sep 15, 2021

Verified

This commit was signed with the committer’s verified signature.
onevcat Wei Wang
1 parent 1897586 commit c1e8937
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Demo/Demo/Kingfisher-Demo/SwiftUIViews/ListDemo.swift
Original file line number Diff line number Diff line change
@@ -30,10 +30,8 @@ import SwiftUI
@available(iOS 14.0, *)
struct ListDemo : View {

let index = 1 ..< 700

var body: some View {
List(index) { i in
List(1 ..< 700) { i in
ImageCell(index: i)
.frame(height: 300)
}.navigationBarTitle(Text("SwiftUI List"), displayMode: .inline)

0 comments on commit c1e8937

Please sign in to comment.