Skip to content

Commit 25daa2d

Browse files
committed
Update the macOS Example to use Sidebar style but not default style, which default size more correctly
1 parent 70f161d commit 25daa2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Example/SDWebImageSwiftUIDemo/ContentView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ struct ContentView: View {
5151
#if os(macOS)
5252
return NavigationView {
5353
contentView()
54+
.frame(minWidth: 200)
55+
.listStyle(SidebarListStyle())
5456
.contextMenu {
5557
Button(action: { self.reloadCache() }) {
5658
Text("Reload")

0 commit comments

Comments
 (0)