Skip to content

Commit

Permalink
Fixed Werrors
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickulrich committed Mar 12, 2023
1 parent 0cbb2ed commit 7880083
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/displayapp/screens/FileView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions src/displayapp/screens/Gallery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7880083

Please sign in to comment.