fixed wednesday

pull/117/head v1.2.10
sqfmi 2021-12-01 22:09:11 -05:00
parent 8fb1902cbe
commit e34fbac279
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ void Watchy7SEG::drawDate(){
String dayOfWeek = dayStr(currentTime.Wday);
display.getTextBounds(dayOfWeek, 5, 85, &x1, &y1, &w, &h);
if(currentTime.Wday == 4){
w = w - 5;
}
display.setCursor(85 - w, 85);
display.println(dayOfWeek);