Skip to content

Commit beea483

Browse files
lint + fix or condition
1 parent e28dbbf commit beea483

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src_nbgl/ui_settings.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,14 @@ static void controlsCallback(int token, uint8_t index) {
119119

120120
void ui_menu_settings(void) {
121121
uint8_t nb_screens = 2;
122-
#ifdef HAVE_EIP712_FULL_SUPPORT || HAVE_DOMAIN_NAME
122+
#if defined(HAVE_EIP712_FULL_SUPPORT) || defined(HAVE_DOMAIN_NAME)
123123
nb_screens += 1;
124124
#endif
125-
nbgl_useCaseSettings(APPNAME " settings", 0, nb_screens, false, ui_idle, navCallback, controlsCallback);
125+
nbgl_useCaseSettings(APPNAME " settings",
126+
0,
127+
nb_screens,
128+
false,
129+
ui_idle,
130+
navCallback,
131+
controlsCallback);
126132
}

0 commit comments

Comments
 (0)