1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-23 00:21:59 +01:00

Apply dirlist style to unselected directories

This commit is contained in:
Eyal Sawady 2020-12-31 12:16:24 -05:00 committed by Reto Brunner
parent 3c14c2cb34
commit 7371d91b3c

@ -235,7 +235,7 @@ func (dirlist *DirectoryList) Draw(ctx *ui.Context) {
break
}
style := tcell.StyleDefault
style := dirlist.UiConfig().GetStyle(config.STYLE_DIRLIST_DEFAULT)
if name == dirlist.selected {
style = dirlist.UiConfig().GetStyleSelected(config.STYLE_DIRLIST_DEFAULT)
}