Skip to content

Commit

Permalink
Apps/watchfaces : some correct
Browse files Browse the repository at this point in the history
  • Loading branch information
RuffaloLavoisier committed May 4, 2022
1 parent f94722c commit c3c393c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/apps/watchfaces/watchface_dual_time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,12 @@ void commonSecondsDisplay() {
hal->gfx()->setTextLeftAligned();
hal->gfx()->setTextBottomAligned();
hal->gfx()->setTextCenterAligned();
hal->gfx()->setTextCursor(120, 150);
hal->gfx()->setTextCursor(BUF_W/2, 150);
hal->gfx()->print(second);
}

void OswAppWatchfaceDualTime::setup() {
showDateFormat = (OswConfigAllKeys::dateFormat.get() == "mm/dd/yyyy"
? 1
: (OswConfigAllKeys::dateFormat.get() == "dd.mm.yyyy" ? 2 : 3));
showDateFormat = (OswConfigAllKeys::dateFormat.get() == "mm/dd/yyyy" ? 1 : (OswConfigAllKeys::dateFormat.get() == "dd.mm.yyyy" ? 2 : 3));
}

void OswAppWatchfaceDualTime::loop() {
Expand Down

0 comments on commit c3c393c

Please sign in to comment.