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:
Ibrahima G. Coulibaly 2025-10-02 20:43:41 +01:00 committed by GitHub
commit 0542063e30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ const initialValues: InitialValuesType = {
// WiFi
wifiSsid: '',
wifiPassword: '',
wifiEncryption: 'WPA/WPA2',
wifiEncryption: 'WPA',
// vCard
vCardName: '',
@ -353,7 +353,7 @@ export default function QRCodeGenerator({ title }: ToolComponentProps) {
label="Encryption Type"
margin="normal"
>
<MenuItem value="WPA/WPA2">WPA/WPA2</MenuItem>
<MenuItem value="WPA">WPA</MenuItem>
<MenuItem value="WEP">WEP</MenuItem>
<MenuItem value="None">None</MenuItem>
</TextField>

View file

@ -7,7 +7,7 @@ export type QRCodeType =
| 'WiFi'
| 'vCard';
export type WifiEncryptionType = 'WPA/WPA2' | 'WEP' | 'None';
export type WifiEncryptionType = 'WPA' | 'WEP' | 'None';
export interface InitialValuesType {
qrCodeType: QRCodeType;