File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ appAttrMap =
156156 , (highlightAttr, black `on` white)
157157 ]
158158
159- withBorderIf :: Bool -> Widget -> Widget
160- withBorderIf cond =
159+ withVisibleBorderIf :: Bool -> Widget -> Widget
160+ withVisibleBorderIf cond =
161161 withBorderStyle if cond then unicode else borderStyleFromChar ' '
162162
163163appDraw :: Model -> [Widget ]
@@ -170,7 +170,7 @@ appDraw Model{visibleNotes, isNoteOpen} = [mainWidget <=> keysHelpLine]
170170 ( renderList renderListItem True visibleNotes
171171 & withVScrollBars OnRight
172172 )
173- & withBorderIf (not isNoteOpen)
173+ & withVisibleBorderIf (not isNoteOpen)
174174
175175 openNoteWidget =
176176 border
@@ -181,7 +181,7 @@ appDraw Model{visibleNotes, isNoteOpen} = [mainWidget <=> keysHelpLine]
181181 & withHScrollBars OnBottom
182182 & withVScrollBars OnRight
183183 )
184- & withBorderIf isNoteOpen
184+ & withVisibleBorderIf isNoteOpen
185185 where
186186 content =
187187 case listSelectedElement visibleNotes of
You can’t perform that action at this time.
0 commit comments