Skip to content

Commit fec251b

Browse files
committed
fw/shell/sdk/prefs: fix build by adding highlight color prefs
Signed-off-by: Joshua Jun <joshuajun@proton.me>
1 parent 89bf800 commit fec251b

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/fw/shell/sdk/prefs.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,3 +277,19 @@ UnitsDistance shell_prefs_get_units_distance(void) {
277277
}
278278

279279
#endif
280+
281+
GColor shell_prefs_get_settings_menu_highlight_color(void) {
282+
return PBL_IF_COLOR_ELSE(GColorCobaltBlue, GColorBlack);
283+
}
284+
285+
void shell_prefs_set_settings_menu_highlight_color(GColor color) {
286+
// Not used in SDK shell
287+
}
288+
289+
GColor shell_prefs_get_apps_menu_highlight_color(void) {
290+
return PBL_IF_COLOR_ELSE(GColorVividCerulean, GColorBlack);
291+
}
292+
293+
void shell_prefs_set_apps_menu_highlight_color(GColor color) {
294+
// Not used in SDK shell
295+
}

0 commit comments

Comments
 (0)