Implement copy of TX id
This commit is contained in:
parent
7956a2ec22
commit
709cfde151
2 changed files with 11 additions and 3 deletions
|
@ -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 display and copy seed phrase
|
||||||
- Dialog to add new address
|
- Dialog to add new address
|
||||||
- Dialog to add new account
|
- Dialog to add new account
|
||||||
|
- Dialog to add new wallet
|
||||||
|
- Dialog to display transaction details and copy TX ID
|
||||||
|
|
||||||
|
|
||||||
## [0.5.3.0-beta]
|
## [0.5.3.0-beta]
|
||||||
|
|
|
@ -144,8 +144,8 @@ buildUI wenv model = widgetTree
|
||||||
[ mainWindow
|
[ mainWindow
|
||||||
, confirmOverlay `nodeVisible` isJust (model ^. confirmTitle)
|
, confirmOverlay `nodeVisible` isJust (model ^. confirmTitle)
|
||||||
, seedOverlay `nodeVisible` model ^. showSeed
|
, seedOverlay `nodeVisible` model ^. showSeed
|
||||||
, msgOverlay `nodeVisible` isJust (model ^. msg)
|
|
||||||
, txOverlay `nodeVisible` isJust (model ^. showTx)
|
, txOverlay `nodeVisible` isJust (model ^. showTx)
|
||||||
|
, msgOverlay `nodeVisible` isJust (model ^. msg)
|
||||||
, modalOverlay `nodeVisible` isJust (model ^. modalMsg)
|
, modalOverlay `nodeVisible` isJust (model ^. modalMsg)
|
||||||
]
|
]
|
||||||
mainWindow =
|
mainWindow =
|
||||||
|
@ -564,11 +564,17 @@ buildUI wenv model = widgetTree
|
||||||
getHex $
|
getHex $
|
||||||
userTxHex $ entityVal $ (model ^. transactions) !! i)
|
userTxHex $ entityVal $ (model ^. transactions) !! i)
|
||||||
[multiline]
|
[multiline]
|
||||||
|
, spacer
|
||||||
, box_
|
, box_
|
||||||
[]
|
[ onClick $
|
||||||
|
CopyTx $
|
||||||
|
toText $
|
||||||
|
getHex $
|
||||||
|
userTxHex $ entityVal $ (model ^. transactions) !! i
|
||||||
|
]
|
||||||
(remixIcon remixFileCopyFill `styleBasic`
|
(remixIcon remixFileCopyFill `styleBasic`
|
||||||
[textColor white]) `styleBasic`
|
[textColor white]) `styleBasic`
|
||||||
[bgColor btnColor, radius 2]
|
[cursorHand, bgColor btnColor, radius 2, padding 2]
|
||||||
]) `styleBasic`
|
]) `styleBasic`
|
||||||
[padding 2, bgColor white, width 280, borderB 1 gray]
|
[padding 2, bgColor white, width 280, borderB 1 gray]
|
||||||
, box_
|
, box_
|
||||||
|
|
Loading…
Reference in a new issue