Removed poor signal quality icon when bluetooth disconnected.

This commit is contained in:
Vojtěch Pour 2022-12-16 21:33:57 +01:00
parent 3e6f7eca53
commit 7cb14f41cd

View file

@ -361,10 +361,10 @@ void drawBluetoothLoading() {
void drawBluetoothFailed() {
M5.lcd.fillRect(0, 65, 320, 110, (COLORS[COLOR_MODE] - 1) % 2);
if (wasConnected) {
// TODO SMAZAT SIGNAL
M5.lcd.fillRect(0, 0, 150, 55, (COLORS[COLOR_MODE] - 1) % 2);
M5.lcd.fillRect(0, 185, 320, 240, (COLORS[COLOR_MODE] - 1) % 2);
M5.lcd.fillRect(0, 185, 320, 240, (COLORS[COLOR_MODE] - 1) % 2);
M5.Lcd.drawString("Bluetooth: disconnected", 20, 110, 4);
M5.lcd.fillRect(0, 185, 320, 240, (COLORS[COLOR_MODE] - 1) % 2);
} else {
M5.Lcd.drawString("connecting failed", 50, 110, 4);
}