InfiniTime/src/displayapp
Reinhold Gschweicher a29e30c187 Notifications: replace newlines in label-copy because of const char* title
The variable `title` is defined as `const char*`, which means, that
`strchr()` returns a `const char*` as well according to
https://www.cplusplus.com/reference/cstring/strchr/

But in the same line the return value is assigned to a non-const
`char*`, which shouldn't be allowed (error with `-pedantic`).

Because the `lv_label` creates an internal copy of the title sting, just
modify that one instead and replace newline in the copied string.
2022-03-03 21:08:45 +01:00
..
fonts Add airplane mode feature 2021-12-23 20:30:14 -06:00
icons Big UI and navigation Rewrite 2021-04-04 03:08:51 +01:00
screens Notifications: replace newlines in label-copy because of const char* title 2022-03-03 21:08:45 +01:00
Apps.h Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime into evergreen22-airplane-mode 2022-02-20 15:25:24 +01:00
Colors.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Colors.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
DisplayApp.cpp Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime into evergreen22-airplane-mode 2022-02-20 15:40:49 +01:00
DisplayApp.h Provide reference to BrightnessController in DisplayApp 2022-02-19 20:46:45 +01:00
DisplayAppRecovery.cpp Provide reference to BrightnessController in DisplayApp 2022-02-19 20:46:45 +01:00
DisplayAppRecovery.h Provide reference to BrightnessController in DisplayApp 2022-02-19 20:46:45 +01:00
DummyLittleVgl.h remove unused libs/ prefix from lvgl includes as not needed 2021-11-15 22:02:49 +01:00
LittleVgl.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
LittleVgl.h Fix most issues 2021-07-16 00:07:55 +03:00
lv_pinetime_theme.c Make switch disabled state slightly dimmer 2022-02-12 18:36:11 +01:00
lv_pinetime_theme.h Alarm: Change checkable button for a switch 2022-02-12 18:36:11 +01:00
Messages.h Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime into evergreen22-airplane-mode 2022-02-20 15:40:49 +01:00
TouchEvents.h Reformatted all the files according to clang-format style 2021-04-24 11:39:53 +03:00