Browse Source

Tooltip on lock

master
meriadec 7 years ago
parent
commit
03ce5159c2
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 8
      src/components/TopBar/index.js
  2. 1
      static/i18n/en/app.yml

8
src/components/TopBar/index.js

@ -119,9 +119,11 @@ class TopBar extends PureComponent<Props> {
<Box justifyContent="center"> <Box justifyContent="center">
<Bar /> <Bar />
</Box> </Box>
<ItemContainer isInteractive justifyContent="center" onClick={this.handleLock}> <Tooltip render={() => t('app:common.lock')}>
<IconLock size={16} /> <ItemContainer isInteractive justifyContent="center" onClick={this.handleLock}>
</ItemContainer> <IconLock size={16} />
</ItemContainer>
</Tooltip>
</Fragment> </Fragment>
)} )}
</Box> </Box>

1
static/i18n/en/app.yml

@ -21,6 +21,7 @@ common:
save: Save save: Save
password: Password password: Password
editProfile: Preferences editProfile: Preferences
lock: Lock
lockApplication: Lock Ledger Live lockApplication: Lock Ledger Live
showMore: Show more showMore: Show more
max: Max max: Max

Loading…
Cancel
Save