Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3392 from gre/hide-langs
Browse files Browse the repository at this point in the history
Hide onboarding lang picker
  • Loading branch information
gre authored Dec 16, 2020
2 parents 069c21d + bb6074a commit 4aec3e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/config/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const allLanguages = [
"zh",
];

export const prodStableLanguages = ["en", "fr", "ru", "zh", "es"];
export const prodStableLanguages = ["en", "fr"];

export const getLanguages = () =>
getEnv("EXPERIMENTAL_LANGUAGES") ? allLanguages : prodStableLanguages;
4 changes: 1 addition & 3 deletions src/renderer/components/Onboarding/Screens/Welcome/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ export function Welcome({ sendEvent }: Props) {

return (
<WelcomeContainer>
<TopRightContainer>
<LangSwitcher />
</TopRightContainer>
<TopRightContainer>{null /* LL-4236 */ && <LangSwitcher />}</TopRightContainer>
<WaveContainer>
<AnimatedWave height={600} color={theme === "dark" ? "#587ED4" : "#4385F016"} />
</WaveContainer>
Expand Down

0 comments on commit 4aec3e9

Please sign in to comment.