krz/orgstar

A native macOS editor for org-mode files. editor org-mode swift

Commit cb78d74dc4

cb78d74dc4171f66fb7ac64da121439bf8a36a88

parent: c1295824f5

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-09 04:27 UTC

Show the iOS agenda's empty state alone

With no folders, the No folders message no longer sits on top of a column of empty days.

Layout: unified · split

Sources/OrgstarMobile/AgendaScreen.swift +3 −1
@@ -45,7 +45,9 @@ struct AgendaScreen: View {
4545
4646 var body: some View {
4747 List {
48 if case .agenda = agenda.mode {
48 // With no folders the empty state stands alone, not over a column of empty days.
49 if workspace.rootPaths.isEmpty {
50 } else if case .agenda = agenda.mode {
4951 ForEach(agenda.days, id: \.day) { day in
5052 Section {
5153 let items = day.items.filter(\.isEntry).filter(filter.keeps)