updateConnectionStatus

private fun updateConnectionStatus(isConnected: Boolean)

Updates mSelectDeviceButton and mSelectDeviceButtonText to match the new connection status.

Called when serverConnectionViewModel updates or onSensorChanged detects a change in orientation.

Parameters

isConnected

Whether or a server is currently connected