Keep into account disconnections

master
blallo 2023-03-07 23:59:47 +01:00
parent 74173771e4
commit 7752c07cc8
Signed by: blallo
GPG Key ID: C530464EEDCF489A
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ export function RadioToggler() {
if (loading) {
buttonStatus = "Loading";
circleStyle = styles.circleLoading;
} else if (connectionState) {
} else if (connectionState && connectionState !== ConnectionState.DISCONNECTED) {
switch (radioState) {
case RadioState.STARTED:
buttonStatus = "ON AIR";