mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-09 01:52:30 +05:30
Merge pull request #257 from njfletcher215/qr-code-wifi-uri-wpa-type-update
Changed the 'type' for WPA/WPA2/WPA3 to just 'WPA'
This commit is contained in:
commit
0542063e30
2 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ const initialValues: InitialValuesType = {
|
||||||
// WiFi
|
// WiFi
|
||||||
wifiSsid: '',
|
wifiSsid: '',
|
||||||
wifiPassword: '',
|
wifiPassword: '',
|
||||||
wifiEncryption: 'WPA/WPA2',
|
wifiEncryption: 'WPA',
|
||||||
|
|
||||||
// vCard
|
// vCard
|
||||||
vCardName: '',
|
vCardName: '',
|
||||||
|
|
@ -353,7 +353,7 @@ export default function QRCodeGenerator({ title }: ToolComponentProps) {
|
||||||
label="Encryption Type"
|
label="Encryption Type"
|
||||||
margin="normal"
|
margin="normal"
|
||||||
>
|
>
|
||||||
<MenuItem value="WPA/WPA2">WPA/WPA2</MenuItem>
|
<MenuItem value="WPA">WPA</MenuItem>
|
||||||
<MenuItem value="WEP">WEP</MenuItem>
|
<MenuItem value="WEP">WEP</MenuItem>
|
||||||
<MenuItem value="None">None</MenuItem>
|
<MenuItem value="None">None</MenuItem>
|
||||||
</TextField>
|
</TextField>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ export type QRCodeType =
|
||||||
| 'WiFi'
|
| 'WiFi'
|
||||||
| 'vCard';
|
| 'vCard';
|
||||||
|
|
||||||
export type WifiEncryptionType = 'WPA/WPA2' | 'WEP' | 'None';
|
export type WifiEncryptionType = 'WPA' | 'WEP' | 'None';
|
||||||
|
|
||||||
export interface InitialValuesType {
|
export interface InitialValuesType {
|
||||||
qrCodeType: QRCodeType;
|
qrCodeType: QRCodeType;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue