Karl Ostmo 2023-03-24 10:35:01 -07:00 committed by GitHub
parent 7d7f291450
commit d52c36d05c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,12 +87,20 @@ singleAchievementDetails attainedMap x =
Nothing -> emptyWidget
Just attainment ->
padTop (Pad 1) $
hBox
[ txt "Obtained: "
, withAttr cyanAttr $
str $
formatTime defaultTimeLocale "%l:%M%P on %b %e, %Y" $
attainment ^. obtainedAt
vBox
[ hBox
[ txt "Obtained: "
, withAttr cyanAttr $
str $
formatTime defaultTimeLocale "%l:%M%P on %b %e, %Y" $
attainment ^. obtainedAt
]
, flip (maybe emptyWidget) (attainment ^. maybeScenarioPath) $ \s ->
hBox
[ txt "Scenario: "
, withAttr cyanAttr $
str s
]
]
, padTop (Pad 1) $
hBox