forked from lucxjo/leganto-apple
All basic views now done.
Some tidying of views will be needed. Next, data fetching needs to be worked on. Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
parent
a18f485502
commit
058cf52926
6 changed files with 167 additions and 25 deletions
21
Leganto/FeedView.swift
Normal file
21
Leganto/FeedView.swift
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// FeedView.swift
|
||||
// Leganto
|
||||
//
|
||||
// Created by Louis Hollingworth on 2023-05-23.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct FeedView: View {
|
||||
var source: Feed
|
||||
|
||||
var body: some View {
|
||||
List {
|
||||
ForEach(1..<20) { item in
|
||||
FeedViewCell()
|
||||
}
|
||||
}
|
||||
.navigationTitle(source.name!)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue