Skip to content

Commit c2df4ca

Browse files
committed
Default to all-posts list if logged in, drafts otherwise
1 parent 1170caa commit c2df4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/Navigation/ContentView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ struct ContentView: View {
77
NavigationView {
88
SidebarView()
99

10-
PostListView(selectedCollection: nil, showAllPosts: true)
10+
PostListView(selectedCollection: nil, showAllPosts: model.account.isLoggedIn)
1111

1212
Text("Select a post, or create a new local draft.")
1313
.foregroundColor(.secondary)

0 commit comments

Comments
 (0)