Default to all-posts list if logged in, drafts otherwise

This commit is contained in:
Angelo Stavrow 2020-10-29 10:36:43 -04:00
parent 1170caaf4a
commit c2df4cab86
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -7,7 +7,7 @@ struct ContentView: View {
NavigationView {
SidebarView()
PostListView(selectedCollection: nil, showAllPosts: true)
PostListView(selectedCollection: nil, showAllPosts: model.account.isLoggedIn)
Text("Select a post, or create a new local draft.")
.foregroundColor(.secondary)