Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
feat(ui): add tooltip to channel private option
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed Oct 18, 2020
1 parent 3a3f006 commit 3234db3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion renderer/components/Channels/ChannelCreateForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,10 @@ class ChannelCreateForm extends React.Component {
<Span color="gray" fontSize="s" mr={2}>
<Padlock />
</Span>
<Label htmlFor="private">
<Label
htmlFor="private"
tooltip={intl.formatMessage({ ...messages.private_tooltip })}
>
<FormattedMessage {...messages.private_label} />
</Label>
</Flex>
Expand Down
1 change: 1 addition & 0 deletions renderer/components/Channels/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default defineMessages({
open_channel_form_onchain_balance: 'Your current confirmed on-chain balance:',
open_channel_notification: 'Channel opening initiated',
private_label: 'Keep this channel private',
private_tooltip: 'Whether this channel should be private, not announced to the greater network.',
search_placeholder: 'Search Channels',
view_mode_list: 'View as a list',
view_mode_card: 'View as cards',
Expand Down

0 comments on commit 3234db3

Please # to comment.