diff options
Diffstat (limited to 'lib/statusline/folderstate.go')
-rw-r--r-- | lib/statusline/folderstate.go | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/statusline/folderstate.go b/lib/statusline/folderstate.go deleted file mode 100644 index ff470b72..00000000 --- a/lib/statusline/folderstate.go +++ /dev/null @@ -1,32 +0,0 @@ -package statusline - -type folderState struct { - Search string - Filter string - FilterActivity string - Sorting string - - Threading string -} - -func (fs *folderState) State() []string { - var line []string - - if fs.FilterActivity != "" { - line = append(line, fs.FilterActivity) - } else { - if fs.Filter != "" { - line = append(line, fs.Filter) - } - } - if fs.Search != "" { - line = append(line, fs.Search) - } - if fs.Sorting != "" { - line = append(line, fs.Sorting) - } - if fs.Threading != "" { - line = append(line, fs.Threading) - } - return line -} |