Merge branch 'master' of github.com:sachaw/meshtastic-client

This commit is contained in:
Sacha Weatherstone
2021-04-25 20:17:58 +10:00
3 changed files with 36 additions and 1 deletions
+14 -1
View File
@@ -1,6 +1,6 @@
import React from 'react';
import { Jp, Us } from 'react-flags-select';
import { Jp, Us, Br } from 'react-flags-select';
import { FaCog, FaLaptop, FaMoon, FaSun } from 'react-icons/fa';
import type { languageTemplate } from '../../App';
@@ -82,6 +82,19 @@ const SidebarUISettings = (props: SidebarUISettingsProps) => {
</>
}
/>
<NavItem
onClick={() => {
props.SetLanguage(LanguageEnum.PORTUGUESE);
}}
open={false}
isDropdown={false}
isNested={true}
titleContent={
<>
Português <Br className="w-8 shadow-md" />
</>
}
/>
<NavItem
onClick={() => {
props.SetLanguage(LanguageEnum.JAPANESE);