Browse Source
Merge pull request #551 from Hunter275/position-precision-v2
Fix Position Precision for non-Primary channels
pull/553/head
Dan Ditomaso
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
2 deletions
-
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(() => { |
|
|
|
|