diff options
author | Robin Jarry <robin@jarry.cc> | 2022-08-22 09:53:56 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-22 09:57:23 +0200 |
commit | d138da0c9fe40ae1adb152da4a22bea2fb86be19 (patch) | |
tree | 905855c68d5bcaa24503c714fc73bd561aaacaab /commands/msg/invite.go | |
parent | 62ac7a507172934ee46304be9da8c3e8a8f5d438 (diff) | |
download | aerc-d138da0c9fe40ae1adb152da4a22bea2fb86be19.tar.gz |
dirtree: fix build errors
Fix the following errors:
widgets/dirtree.go:401:18: not enough arguments in call to dt.UiConfig
have ()
want (string) (typecheck)
if dt.UiConfig().DirListCollapse != 0 {
^
widgets/dirtree.go:402:38: not enough arguments in call to dt.UiConfig
have ()
want (string) (typecheck)
node.Hidden = depth > dt.UiConfig().DirListCollapse
^
Since commit e0b62db583c3 ("fix: Set proper UIConfig for msgstores"),
DirectoryTree.UiConfig() takes a path parameter.
Fixes: db39ca181adf ("dirtree: add dirtree-collapse config setting")
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/msg/invite.go')
0 files changed, 0 insertions, 0 deletions