diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cd7b9b..e013584 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Dialog to display and copy seed phrase - Dialog to add new address - Dialog to add new account +- Dialog to add new wallet +- Dialog to display transaction details and copy TX ID ## [0.5.3.0-beta] diff --git a/src/Zenith/GUI.hs b/src/Zenith/GUI.hs index cb3b28f..6e95af4 100644 --- a/src/Zenith/GUI.hs +++ b/src/Zenith/GUI.hs @@ -144,8 +144,8 @@ buildUI wenv model = widgetTree [ mainWindow , confirmOverlay `nodeVisible` isJust (model ^. confirmTitle) , seedOverlay `nodeVisible` model ^. showSeed - , msgOverlay `nodeVisible` isJust (model ^. msg) , txOverlay `nodeVisible` isJust (model ^. showTx) + , msgOverlay `nodeVisible` isJust (model ^. msg) , modalOverlay `nodeVisible` isJust (model ^. modalMsg) ] mainWindow = @@ -564,11 +564,17 @@ buildUI wenv model = widgetTree getHex $ userTxHex $ entityVal $ (model ^. transactions) !! i) [multiline] + , spacer , box_ - [] + [ onClick $ + CopyTx $ + toText $ + getHex $ + userTxHex $ entityVal $ (model ^. transactions) !! i + ] (remixIcon remixFileCopyFill `styleBasic` [textColor white]) `styleBasic` - [bgColor btnColor, radius 2] + [cursorHand, bgColor btnColor, radius 2, padding 2] ]) `styleBasic` [padding 2, bgColor white, width 280, borderB 1 gray] , box_