summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/ScreenList.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-25 22:22:22 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-25 22:22:22 (GMT)
commit268ddbdc7622ab2a6b0490701064ffdde13fee51 (patch)
treeb4a5a240f3df214aa8245f9913fb4a9af8c356a4 /src/displayapp/screens/ScreenList.h
parent30c319831ab15e6abaf97e4fa8f58a8eaeb8ba4a (diff)
sans animations
Diffstat (limited to 'src/displayapp/screens/ScreenList.h')
-rw-r--r--src/displayapp/screens/ScreenList.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/displayapp/screens/ScreenList.h b/src/displayapp/screens/ScreenList.h
index e316e36..4178704 100644
--- a/src/displayapp/screens/ScreenList.h
+++ b/src/displayapp/screens/ScreenList.h
@@ -37,7 +37,6 @@ namespace Pinetime {
case TouchEvents::SwipeDown:
if (screenIndex > 0) {
current.reset(nullptr);
- app->SetFullRefresh(DisplayApp::FullRefreshDirections::Down);
screenIndex--;
current = screens[screenIndex]();
return true;
@@ -48,7 +47,6 @@ namespace Pinetime {
case TouchEvents::SwipeUp:
if (screenIndex < screens.size() - 1) {
current.reset(nullptr);
- app->SetFullRefresh(DisplayApp::FullRefreshDirections::Up);
screenIndex++;
current = screens[screenIndex]();
}
@@ -61,7 +59,6 @@ namespace Pinetime {
case TouchEvents::SwipeRight:
if (screenIndex > 0) {
current.reset(nullptr);
- app->SetFullRefresh(DisplayApp::FullRefreshDirections::None);
screenIndex--;
current = screens[screenIndex]();
return true;
@@ -72,7 +69,6 @@ namespace Pinetime {
case TouchEvents::SwipeLeft:
if (screenIndex < screens.size() - 1) {
current.reset(nullptr);
- app->SetFullRefresh(DisplayApp::FullRefreshDirections::None);
screenIndex++;
current = screens[screenIndex]();
}
@@ -87,7 +83,6 @@ namespace Pinetime {
screenIndex = 0;
}
current.reset(nullptr);
- app->SetFullRefresh(DisplayApp::FullRefreshDirections::None);
current = screens[screenIndex]();
return true;
}