Fix warnings

This commit is contained in:
Riku Isokoski
2022-04-09 13:37:31 +03:00
parent b7b1af1c4c
commit 54df828665
11 changed files with 25 additions and 25 deletions

View File

@@ -5,11 +5,10 @@
using namespace Pinetime::Applications::Screens;
namespace {
static void ButtonEventHandler(lv_obj_t* obj, lv_event_t event) {
List* screen = static_cast<List*>(obj->user_data);
void ButtonEventHandler(lv_obj_t* obj, lv_event_t event) {
auto* screen = static_cast<List*>(obj->user_data);
screen->OnButtonEvent(obj, event);
}
}
List::List(uint8_t screenID,