Fix warnings
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user