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

getLocale() always return en if I don't delay a second #3082

Closed
2 tasks done
pnthach95 opened this issue Jun 26, 2024 · 1 comment
Closed
2 tasks done

getLocale() always return en if I don't delay a second #3082

pnthach95 opened this issue Jun 26, 2024 · 1 comment
Labels
πŸ› bug Something isn't working πŸ”΅ extension

Comments

@pnthach95
Copy link

πŸ” Have you checked Spicetify.app page for your issue?

  • I have checked the FAQ

πŸ” Is there already an issue for your problem?

  • I have checked older issues, open and closed

β„Ή Environment / Computer Info

Spotify cho macOS (Apple Silicon)
1.2.40.599.g606b7f29
Spicetify v2.36.13
xpui_2024-06-17_1718636116813_606b7f2
cef_125.0.19+g3d8f1c9+chromium-125.0.6422.112
Runtime: Chrome
Build System: CMake

πŸ“ Description

I try to use Spicetify.Locale.getLocale() in my extension. But it always returns en. Then, I add a delay and it returns right value.

πŸ“Έ Screenshots

Without delay

Screenshot 2024-06-26 at 10 35 46β€―AM

With delay

Screenshot 2024-06-26 at 10 36 39β€―AM

@pnthach95 pnthach95 added the πŸ› bug Something isn't working label Jun 26, 2024
@rxri
Copy link
Member

rxri commented Jun 26, 2024

Spotify fault

@rxri rxri closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
πŸ› bug Something isn't working πŸ”΅ extension
Projects
None yet
Development

No branches or pull requests

2 participants