aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/toggle-threads.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/toggle-threads.go')
-rw-r--r--commands/msg/toggle-threads.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/toggle-threads.go b/commands/msg/toggle-threads.go
index babdc31c..9508da50 100644
--- a/commands/msg/toggle-threads.go
+++ b/commands/msg/toggle-threads.go
@@ -3,7 +3,7 @@ package msg
import (
"errors"
- "git.sr.ht/~rjarry/aerc/lib/statusline"
+ "git.sr.ht/~rjarry/aerc/lib/state"
"git.sr.ht/~rjarry/aerc/lib/ui"
"git.sr.ht/~rjarry/aerc/widgets"
)
@@ -36,7 +36,7 @@ func (ToggleThreads) Execute(aerc *widgets.Aerc, args []string) error {
return err
}
store.SetThreadedView(!store.ThreadedView())
- acct.SetStatus(statusline.Threading(store.ThreadedView()))
+ acct.SetStatus(state.Threading(store.ThreadedView()))
ui.Invalidate()
return nil
}