Change navigation title for macOS so that it shows the Feed

This commit is contained in:
Maurice Parker 2020-07-12 17:45:38 -05:00
parent 809e6542e0
commit 3a67f2cd8e
3 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,6 @@ struct SidebarContainerView: View {
.modifier(SidebarToolbarModifier())
.modifier(SidebarListStyleModifier())
.environmentObject(sceneModel.sidebarModel)
.navigationTitle(Text("Feeds"))
.onAppear {
sceneModel.sidebarModel.undoManager = undoManager
sceneModel.sidebarModel.rebuildSidebarItems()

View File

@ -53,6 +53,7 @@ struct SidebarView: View {
List {
rows
}
.navigationTitle(Text("Feeds"))
#endif
// .onAppear {
// expandedContainers.data = expandedContainerData

View File

@ -46,6 +46,7 @@ struct TimelineView: View {
navigate = !timelineModel.selectedArticleIDs.isEmpty
}
}
.navigationTitle(Text(verbatim: timelineModel.nameForDisplay))
#else
List(timelineModel.timelineItems) { timelineItem in
ZStack {