mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Sidebar toolbar no longer an overlay
Also moved view model to separate file and removed the view prefix.
This commit is contained in:
@@ -17,6 +17,7 @@ struct RegularSidebarContainerView: View {
|
||||
|
||||
@ViewBuilder var body: some View {
|
||||
SidebarView()
|
||||
.modifier(SidebarToolbar())
|
||||
.environmentObject(sidebarModel)
|
||||
.navigationTitle(Text("Feeds"))
|
||||
.listStyle(SidebarListStyle())
|
||||
@@ -25,11 +26,6 @@ struct RegularSidebarContainerView: View {
|
||||
sidebarModel.delegate = sceneModel
|
||||
sidebarModel.rebuildSidebarItems()
|
||||
}
|
||||
.overlay(Group {
|
||||
#if os(iOS)
|
||||
SidebarToolbar()
|
||||
#endif
|
||||
},alignment: .bottom)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user