Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update the macOS Example to use Sidebar style but not default style, …
…which default size more correctly
  • Loading branch information
dreampiggy committed Oct 29, 2019
commit 25daa2d0f09589f12b70c6e2062720e1b3e4e12b
2 changes: 2 additions & 0 deletions Example/SDWebImageSwiftUIDemo/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ struct ContentView: View {
#if os(macOS)
return NavigationView {
contentView()
.frame(minWidth: 200)
.listStyle(SidebarListStyle())
.contextMenu {
Button(action: { self.reloadCache() }) {
Text("Reload")
Expand Down