Merge pull request #3204 from bobrippling/fix/flightdash-settings

flightdash: drop unnecessary boolean formatter
pull/3208/head
thyttan 2024-02-23 05:34:25 +01:00 committed by GitHub
commit c06296b1cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -316,7 +316,6 @@
},
'Use Baro': {
value: !!settings.useBaro, // !! converts undefined to false
format: v => v ? 'On' : 'Off',
onchange: v => {
settings.useBaro = v;
writeSettings();