Do a full refresh on page switch

This commit is contained in:
Lewis Jackson 2023-06-01 18:24:23 +03:00
parent f718c01d80
commit 36510ace7a

View file

@ -75,7 +75,7 @@ void WatchFace::HandleButtonPress(uint64_t buttonMask)
}
} else if (buttonMask & UP_BTN_MASK) {
m_watchFacePage = (m_watchFacePage + 1) % m_pages.size();
ShowWatchFace(true);
ShowWatchFace(false);
while (true) {
// Wait for button release
@ -87,7 +87,7 @@ void WatchFace::HandleButtonPress(uint64_t buttonMask)
}
} else if (buttonMask & DOWN_BTN_MASK) {
m_watchFacePage = (m_watchFacePage + m_pages.size() - 1) % m_pages.size();
ShowWatchFace(true);
ShowWatchFace(false);
while (true) {
// Wait for button release