Switched from NULL to nullptr

This commit is contained in:
Avamander
2020-10-04 14:53:11 +03:00
parent e4f0a95af8
commit 13da1e38f0
10 changed files with 40 additions and 40 deletions

View File

@@ -4,7 +4,7 @@
using namespace Pinetime::Applications::Screens;
Label::Label(Pinetime::Applications::DisplayApp *app, const char *text) : Screen(app), text{text} {
label = lv_label_create(lv_scr_act(), NULL);
label = lv_label_create(lv_scr_act(), nullptr);
lv_label_set_align(label, LV_LABEL_ALIGN_LEFT);
lv_obj_set_size(label, 240, 240);
lv_label_set_text(label, text);