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:
Louis Hollingworth 2023-05-28 19:43:37 +01:00
parent 058cf52926
commit 9345b91573
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
13 changed files with 213 additions and 16 deletions

View file

@ -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 {