Fix touchevent tap
This commit is contained in:
parent
79f0fcb07a
commit
123c6f1917
3 changed files with 7 additions and 15 deletions
|
|
@ -155,14 +155,7 @@ void QuickSettings::OnButtonEvent(lv_obj_t* object, lv_event_t event) {
|
|||
}
|
||||
|
||||
bool QuickSettings::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
|
||||
switch (event) {
|
||||
case Pinetime::Applications::TouchEvents::SwipeLeft:
|
||||
running = false;
|
||||
return false;
|
||||
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool QuickSettings::Refresh() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue