Skip to content

Commit

Permalink
fix(ui): improve funding label text
Browse files Browse the repository at this point in the history
  • Loading branch information
jojobyte committed Feb 19, 2024
1 parent a65404b commit 84f920a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rigs/edit-profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export let editProfileRig = (async function (globals) {
cancelTxt: 'Cancel',
cancelAlt: `Cancel`,
placement: 'wide',
closeTxt: html`<svg class="x" width="26" height="26" viewBox="0 0 26 26">
<use xlink:href="#icon-x"></use>
</svg>`,
uriLabelPrefix: 'Dash Incubator Wallet Funding:',
uriLabel: state => encodeURI(`${state.uriLabelPrefix} ${appState.selectedAlias}`),
closeTxt: html`<svg class="x" width="26" height="26" viewBox="0 0 26 26"><use xlink:href="#icon-x"></use></svg>`,
closeAlt: `Close`,
footer: state => html`
<footer class="inline col">
Expand All @@ -51,7 +51,7 @@ export let editProfileRig = (async function (globals) {
</button>
</footer>
`,
getLink: state => `dash:${state.wallet?.address || ''}?label=funding`,
getLink: state => `dash:${state.wallet?.address || ''}?label=${state.uriLabel(state)}`,
content: state => html`
${state.header(state)}
Expand Down

0 comments on commit 84f920a

Please sign in to comment.