aboutsummaryrefslogtreecommitdiff
path: root/widgets/msgviewer.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-07 10:19:29 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-07 10:19:29 -0400
commit668f7f9e5de7c3d90307353294f057ee25f00708 (patch)
tree8971b078ca9616792f6cb45e0f7d233f9d61f9e3 /widgets/msgviewer.go
parent32a9da31438d51bfd49b3acbf0691c35feb4a974 (diff)
Remove unnecessary branch
Diffstat (limited to 'widgets/msgviewer.go')
-rw-r--r--widgets/msgviewer.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index b82fa8d..af0880a 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -158,9 +158,6 @@ func createSwitcher(switcher *PartSwitcher, conf *config.AercConfig,
var err error
switcher.showHeaders = showHeaders
- if showHeaders {
- }
-
if len(msg.BodyStructure.Parts) == 0 {
pv, err := NewPartViewer(conf, store, msg, msg.BodyStructure,
showHeaders, []int{1})