aboutsummaryrefslogtreecommitdiffstats
path: root/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index b6862aa..cf0ebd2 100644
--- a/src/App.js
+++ b/src/App.js
@@ -20,6 +20,8 @@ function App() {
20 encryptionMode: 'WPA', 20 encryptionMode: 'WPA',
21 // Settings: Hide password on the printed card 21 // Settings: Hide password on the printed card
22 hidePassword: false, 22 hidePassword: false,
23 // Settings: Mark your network as hidden SSID
24 hiddenSSID: false,
23 // Settings: Portrait orientation 25 // Settings: Portrait orientation
24 portrait: false, 26 portrait: false,
25 }); 27 });
@@ -87,6 +89,9 @@ function App() {
87 const onHidePasswordChange = (hidePassword) => { 89 const onHidePasswordChange = (hidePassword) => {
88 setSettings({ ...settings, hidePassword }); 90 setSettings({ ...settings, hidePassword });
89 }; 91 };
92 const onHiddenSSIDChange = (hiddenSSID) => {
93 setSettings({ ...settings, hiddenSSID });
94 };
90 const onFirstLoad = () => { 95 const onFirstLoad = () => {
91 html.style.direction = htmlDirection(); 96 html.style.direction = htmlDirection();
92 firstLoad.current = false; 97 firstLoad.current = false;
@@ -129,6 +134,7 @@ function App() {
129 onEncryptionModeChange={onEncryptionModeChange} 134 onEncryptionModeChange={onEncryptionModeChange}
130 onOrientationChange={onOrientationChange} 135 onOrientationChange={onOrientationChange}
131 onHidePasswordChange={onHidePasswordChange} 136 onHidePasswordChange={onHidePasswordChange}
137 onHiddenSSIDChange={onHiddenSSIDChange}
132 /> 138 />
133 139
134 <Button 140 <Button