Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: send theme in share URL #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

talvasconcelos
Copy link
Collaborator

Allow TPOS owner to send the desired look and feel (theme, dark mode and gradient) to the TPOS.

Parameters are now included in the share url and QR code


// Retrieve theme, dark mode, and gradient settings from localStorage.
const getSetting = key =>
localStorage.getItem(`lnbits.${key}`)?.split('|')[1] || null
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use this.$q.localStorage.getItem()?
the split('|')[1] goes into the internals of quasar.

@dni dni changed the title send theme in share URL feat: send theme in share URL Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants