Added Esperanto translations
Added beginnings of feed parsing,
may need to switch parser.
Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
parent
058cf52926
commit
9345b91573
13 changed files with 213 additions and 16 deletions
|
|
@ -10,7 +10,7 @@ import CoreData
|
|||
|
||||
struct ContentView: View {
|
||||
@Environment(\.managedObjectContext) var moc
|
||||
@FetchRequest(sortDescriptors: [], animation: .default) var feeds: FetchedResults<Feed>
|
||||
@FetchRequest(sortDescriptors: [SortDescriptor(\.name)], animation: .default) var feeds: FetchedResults<Feed>
|
||||
|
||||
@State private var showAddScreen = false
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ struct ContentView: View {
|
|||
List {
|
||||
ForEach(feeds) { item in
|
||||
NavigationLink {
|
||||
FeedView(source: item)
|
||||
FeedView(feedURL: URL(string: item.url!)!, feedName: item.name!)
|
||||
} label: {
|
||||
HStack {
|
||||
if Genre(rawValue: item.genre) == .news {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue