aboutsummaryrefslogtreecommitdiffstats
path: root/config/ui.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-01-24 23:44:03 +0100
committerRobin Jarry <robin@jarry.cc>2023-01-26 00:20:50 +0100
commiteb82d0e2187f943aedfce2581328d2f89047c722 (patch)
tree7d7bce2e3f0889346ac0d43d56832d3348e2e13f /config/ui.go
parent98e32d2ff22cba1e60caf6a252eee0d38f26f736 (diff)
downloadaerc-eb82d0e2187f943aedfce2581328d2f89047c722.tar.gz
config: remove unused ui.show-header setting
This has setting never been used. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Kt Programs <ktprograms@gmail.com>
Diffstat (limited to 'config/ui.go')
-rw-r--r--config/ui.go16
1 files changed, 6 insertions, 10 deletions
diff --git a/config/ui.go b/config/ui.go
index 8385cb97..5f51140c 100644
--- a/config/ui.go
+++ b/config/ui.go
@@ -30,7 +30,6 @@ type UIConfig struct {
MessageViewThisDayTimeFormat string `ini:"message-view-this-day-time-format"`
MessageViewThisWeekTimeFormat string `ini:"message-view-this-week-time-format"`
MessageViewThisYearTimeFormat string `ini:"message-view-this-year-time-format"`
- ShowHeaders []string `delim:","`
RenderAccountTabs string `ini:"render-account-tabs"`
PinnedTabMarker string `ini:"pinned-tab-marker"`
SidebarWidth int `ini:"sidebar-width"`
@@ -130,15 +129,12 @@ func defaultUiConfig() *UIConfig {
Template: subject,
},
},
- ColumnSeparator: " ",
- AutoMarkRead: true,
- TimestampFormat: "2006-01-02 03:04 PM",
- ThisDayTimeFormat: "",
- ThisWeekTimeFormat: "",
- ThisYearTimeFormat: "",
- ShowHeaders: []string{
- "From", "To", "Cc", "Bcc", "Subject", "Date",
- },
+ ColumnSeparator: " ",
+ AutoMarkRead: true,
+ TimestampFormat: "2006-01-02 03:04 PM",
+ ThisDayTimeFormat: "",
+ ThisWeekTimeFormat: "",
+ ThisYearTimeFormat: "",
RenderAccountTabs: "auto",
PinnedTabMarker: "`",
SidebarWidth: 20,