aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index 6945c10..1bb837e 100644
--- a/src/app.js
+++ b/src/app.js
@@ -381,6 +381,11 @@ function footer() {
'div',
{ style: 'margin-top:4px' },
h('button', { class: 'linklike', style: 'font-weight:400', onClick: openHowItWorks }, t('howItWorks')),
+ // the hat shop: needs a wallet to pay from, so only once one is open
+ activeAccount() && FEATURES.some((f) => f.openHatShop)
+ ? h('span', {}, h('span', { class: 'faint' }, ' ยท '),
+ h('button', { class: 'linklike', style: 'font-weight:400', onClick: () => { clearFeatureNav(); ui.screen = 'wallet'; featureHook('openHatShop'); } }, t('footerSupport')))
+ : null,
// Chrome no longer prompts to install on its own โ€” surface our own link
// once it reports the app is installable. We render from a persisted flag
// (not the live event) so the link is present on the first paint after a