mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
ui: more defensive brick list imports to fix recent breakage
This commit is contained in:
parent
fda41373f7
commit
98e3358046
@ -13,6 +13,7 @@ where
|
||||
|
||||
import Brick
|
||||
import Brick.Widgets.List
|
||||
(handleListEvent, list, listElementsL, listMoveDown, listMoveTo, listNameL, listSelectedElement, listSelectedL, renderList)
|
||||
import Brick.Widgets.Edit
|
||||
import Control.Monad
|
||||
import Control.Monad.IO.Class (liftIO)
|
||||
|
@ -25,6 +25,7 @@ import qualified Data.Vector as V
|
||||
import Graphics.Vty (Event(..),Key(..),Modifier(..))
|
||||
import Brick
|
||||
import Brick.Widgets.List
|
||||
(handleListEvent, list, listElementsL, listMoveDown, listMoveTo, listNameL, listSelectedElement, listSelectedL, renderList)
|
||||
import Brick.Widgets.Edit
|
||||
import Lens.Micro.Platform
|
||||
import Safe
|
||||
|
@ -40,7 +40,7 @@ module Hledger.UI.UITypes where
|
||||
|
||||
import Data.Time.Calendar (Day)
|
||||
import Brick
|
||||
import Brick.Widgets.List
|
||||
import Brick.Widgets.List (List)
|
||||
import Brick.Widgets.Edit (Editor)
|
||||
import Lens.Micro.Platform
|
||||
import Text.Show.Functions ()
|
||||
|
@ -31,7 +31,7 @@ import Brick.Widgets.Border
|
||||
import Brick.Widgets.Border.Style
|
||||
import Brick.Widgets.Dialog
|
||||
import Brick.Widgets.Edit
|
||||
import Brick.Widgets.List
|
||||
import Brick.Widgets.List (List, listSelectedL, listNameL, listItemHeightL)
|
||||
import Control.Monad.IO.Class
|
||||
import Data.List
|
||||
import Data.Maybe
|
||||
|
Loading…
Reference in New Issue
Block a user