fix(demos/smartwatch): fix image color format error (#7819)

Signed-off-by: jialuxiao <jialuxiao@xiaomi.com>
This commit is contained in:
jialuxiao-mi
2025-02-26 11:56:36 +08:00
committed by GitHub
parent 228498f4c3
commit 5764574c9c
4 changed files with 4 additions and 4 deletions

View File

@@ -34,6 +34,6 @@ const lv_img_dsc_t img_application_icon = {
.header.w = 24,
.header.h = 24,
.data_size = sizeof(img_application_icon_data),
.header.cf = LV_COLOR_FORMAT_NATIVE_WITH_ALPHA,
.header.cf = LV_COLOR_FORMAT_RGB565A8,
.data = img_application_icon_data};

View File

@@ -34,6 +34,6 @@ const lv_img_dsc_t img_chat_icon = {
.header.w = 24,
.header.h = 24,
.data_size = sizeof(img_chat_icon_data),
.header.cf = LV_COLOR_FORMAT_NATIVE_WITH_ALPHA,
.header.cf = LV_COLOR_FORMAT_RGB565A8,
.data = img_chat_icon_data};

View File

@@ -34,6 +34,6 @@ const lv_img_dsc_t img_cloud_icon = {
.header.w = 24,
.header.h = 24,
.data_size = sizeof(img_cloud_icon_data),
.header.cf = LV_COLOR_FORMAT_NATIVE_WITH_ALPHA,
.header.cf = LV_COLOR_FORMAT_RGB565A8,
.data = img_cloud_icon_data};

View File

@@ -34,6 +34,6 @@ const lv_img_dsc_t img_note_icon = {
.header.w = 24,
.header.h = 24,
.data_size = sizeof(img_note_icon_data),
.header.cf = LV_COLOR_FORMAT_NATIVE_WITH_ALPHA,
.header.cf = LV_COLOR_FORMAT_RGB565A8,
.data = img_note_icon_data};