Skip to content

Commit 78194cd

Browse files
committed
Setting contents shall be set to 1 (1 screen with several switches, multiple screens with multiple switches not supported by C SDK ?)
(cherry picked from commit 60f47c3)
1 parent 58c6b76 commit 78194cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ledger_device_sdk/src/nbgl/nbgl_home_and_settings.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ impl<'a> NbglHomeAndSettings {
204204
__bindgen_anon_1: nbgl_genericContents_t__bindgen_ty_1 {
205205
contentsList: &self.content as *const nbgl_content_t,
206206
},
207-
nbContents: self.nb_settings,
207+
nbContents: 1,
208208
};
209209

210210
self.ux_sync_init();
@@ -297,7 +297,7 @@ impl<'a> NbglHomeAndSettings {
297297
__bindgen_anon_1: nbgl_genericContents_t__bindgen_ty_1 {
298298
contentsList: &self.content as *const nbgl_content_t,
299299
},
300-
nbContents: self.nb_settings,
300+
nbContents: 1,
301301
};
302302

303303
nbgl_useCaseHomeAndSettings(

0 commit comments

Comments
 (0)