I created a timer which checks the connection every 3 seconds. It sets the text of a label to "No connection" and immediently replaces it with "connected to computer" or "computer not connected" if there is a connection. I thought if there is no connection, the text of the label would not be replaced so it would show "No connection" but it is replaced with "computer not connected" although it can not get any value from firebase. So what do I fail to see? Does the firebaseDB not work like I think it does?
My Blockcode: