function switchModes(state=null)

function switchModes(state=null)
This commit is contained in:
Yong 2023-07-08 19:52:58 -04:00 committed by GitHub
parent 75469d9e3f
commit 16fc486476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
lib.js
View File

@ -3677,6 +3677,11 @@ function switchModes(state=null){
target.appendChild(session.rpcs[UUID].signalMeter);
}
}
if (session.batteryMeter){
if (session.rpcs[UUID].batteryMeter){
target.appendChild(session.rpcs[UUID].batteryMeter);
}
}
if (session.rpcs[UUID].voiceMeter){
target.appendChild(session.rpcs[UUID].voiceMeter);
}