Use the secondary background color for the sidebar but when it's not actually on the side
@@ -373,15 +373,11 @@ public struct SidebarNavigation: View {
self.viewControllerStore.vc?.present(navVC, animated: true, completion: nil)
}, label: {
Image(systemName: "gear")
- }))
+ }).padding(5).hover())
.onAppear {
- if stack {
- UITableView.appearance().backgroundColor = .systemBackground
- } else {
UITableView.appearance().backgroundColor = .secondarySystemBackground
}
}
- }
/// Returns an editor.
var editor: some View {
