diff --git a/src/displayapp/screens/FileView.cpp b/src/displayapp/screens/FileView.cpp index e9167b2d0d..c6fbebcff4 100644 --- a/src/displayapp/screens/FileView.cpp +++ b/src/displayapp/screens/FileView.cpp @@ -6,7 +6,7 @@ using namespace Pinetime::Applications::Screens; FileView::FileView(uint8_t screenID, uint8_t nScreens, const char* path) - : screenID(screenID), nScreens(nScreens), Screen(), pageIndicator(screenID, nScreens) { + : Screen(), pageIndicator(screenID, nScreens), screenID(screenID), nScreens(nScreens) { label = nullptr; const char* c = strrchr(path, '/') + 1; diff --git a/src/displayapp/screens/Gallery.cpp b/src/displayapp/screens/Gallery.cpp index 8ce84eb56b..fe032640c7 100644 --- a/src/displayapp/screens/Gallery.cpp +++ b/src/displayapp/screens/Gallery.cpp @@ -31,6 +31,11 @@ bool Gallery::OnTouchEvent(Pinetime::Applications::TouchEvents event) { case Pinetime::Applications::TouchEvents::DoubleTap: current->ToggleInfo(); return true; + case Pinetime::Applications::TouchEvents::None: + case Pinetime::Applications::TouchEvents::Tap: + case Pinetime::Applications::TouchEvents::SwipeUp: + case Pinetime::Applications::TouchEvents::SwipeDown: + return false; } return false; }