Update protobufs

This commit is contained in:
Sacha Weatherstone
2022-09-09 21:02:16 +10:00
parent 47b34a8f27
commit 4e45990ef5
15 changed files with 123 additions and 143 deletions
@@ -50,7 +50,7 @@ export const Bluetooth = (): JSX.Element => {
const pairingMode = useWatch({
control,
name: "mode",
defaultValue: Protobuf.Config_BluetoothConfig_PairingMode.RandomPin,
defaultValue: Protobuf.Config_BluetoothConfig_PairingMode.RANDOM_PIN,
});
return (
@@ -82,7 +82,7 @@ export const Bluetooth = (): JSX.Element => {
<TextInputField
display={
pairingMode !== Protobuf.Config_BluetoothConfig_PairingMode.FixedPin
pairingMode !== Protobuf.Config_BluetoothConfig_PairingMode.FIXED_PIN
? "none"
: "block"
}