Skip to content

Commit

Permalink
Emojis for GifFile and ImageFile entries in menus
Browse files Browse the repository at this point in the history
  • Loading branch information
someodd committed Aug 5, 2020
1 parent 6d70917 commit abec87b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.15.0] - 2020-08-05

### Add

* Emojis for `GifFile` and `ImageFile` entries in menus

## [0.14.0] - 2020-08-05

### Fix
Expand Down
2 changes: 2 additions & 0 deletions src/BrickApp/Draw/Menu.hs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ listDrawElement menu indx sel a = cursorRegion <+> possibleNumber <+> withAttr
(Canonical ct) -> case ct of
Directory -> withAttr directoryAttr $ txt " πŸ“‚ [Directory]"
File -> withAttr fileAttr $ txt " πŸ“„ [File]"
GifFile -> withAttr fileAttr $ txt " πŸŽ₯ [GIF]"
ImageFile -> withAttr fileAttr $ txt " πŸ–Ό [Image]"
IndexSearchServer ->
withAttr indexSearchServerAttr $ txt " πŸ”Ž [IndexSearchServer]"
_ -> withAttr genericTypeAttr $ txt $ " [" <> T.pack (show ct) <> "]"
Expand Down
2 changes: 1 addition & 1 deletion waffle.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name: waffle
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.14.0.0
version: 0.15.0.0

-- A short (one-line) description of the package.
synopsis: Gopher protocol client
Expand Down

0 comments on commit abec87b

Please sign in to comment.