Keep into account disconnections
This commit is contained in:
parent
74173771e4
commit
7752c07cc8
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user