Keep into account disconnections
This commit is contained in:
parent
74173771e4
commit
7752c07cc8
|
@ -49,7 +49,7 @@ export function RadioToggler() {
|
||||||
if (loading) {
|
if (loading) {
|
||||||
buttonStatus = "Loading";
|
buttonStatus = "Loading";
|
||||||
circleStyle = styles.circleLoading;
|
circleStyle = styles.circleLoading;
|
||||||
} else if (connectionState) {
|
} else if (connectionState && connectionState !== ConnectionState.DISCONNECTED) {
|
||||||
switch (radioState) {
|
switch (radioState) {
|
||||||
case RadioState.STARTED:
|
case RadioState.STARTED:
|
||||||
buttonStatus = "ON AIR";
|
buttonStatus = "ON AIR";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user