mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Default to all-posts list if logged in, drafts otherwise
This commit is contained in:
parent
1170caaf4a
commit
c2df4cab86
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user