From 6cd8ce510205804094eda6fd921e4cde4a9f04ac Mon Sep 17 00:00:00 2001 From: Hunter275 Date: Mon, 31 Mar 2025 23:14:20 -0400 Subject: [PATCH] fix for non-Primary channels --- src/components/PageComponents/Channel.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/PageComponents/Channel.tsx b/src/components/PageComponents/Channel.tsx index 1356f616..1a523ca4 100644 --- a/src/components/PageComponents/Channel.tsx +++ b/src/components/PageComponents/Channel.tsx @@ -34,9 +34,10 @@ export const Channel = ({ channel }: SettingsPanelProps) => { settings: { ...data.settings, psk: toByteArray(pass), - moduleSettings: {...data.settings.moduleSettings, + moduleSettings: create(Protobuf.Channel.ModuleSettingsSchema, { + ...data.settings.moduleSettings, positionPrecision: data.settings.moduleSettings.positionPrecision, - }, + }), }, }); connection?.setChannel(channel).then(() => {