if wifi is not set do not display weather

pull/223/head
Denix 2023-04-28 11:57:35 +02:00 committed by GitHub
parent 342eb48a49
commit f692f2380b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -14,9 +14,11 @@ void Watchy7SEG::drawWatchFace(){
drawTime();
drawDate();
drawSteps();
drawWeather();
drawBattery();
display.drawBitmap(120, 77, WIFI_CONFIGURED ? wifi : wifioff, 26, 18, DARKMODE ? GxEPD_WHITE : GxEPD_BLACK);
if(WIFI_CONFIGURED){
drawWeather();
}
if(BLE_CONFIGURED){
display.drawBitmap(100, 75, bluetooth, 13, 21, DARKMODE ? GxEPD_WHITE : GxEPD_BLACK);
}