summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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})