Skip to content

Commit a03312b

Browse files
committed
added in show_and_return() as well
1 parent 4378a63 commit a03312b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ledger_device_sdk/src/nbgl/nbgl_home_and_settings.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,10 @@ impl<'a> NbglHomeAndSettings {
305305
nbgl_useCaseHomeAndSettings(
306306
self.app_name.as_ptr() as *const c_char,
307307
&self.icon as *const nbgl_icon_details_t,
308-
core::ptr::null(),
308+
match self.tag_line {
309+
None => core::ptr::null(),
310+
Some(ref tag) => tag.as_ptr() as *const c_char,
311+
},
309312
match self.start_page {
310313
PageIndex::Home => INIT_HOME_PAGE as u8,
311314
PageIndex::Settings(idx) => idx,

0 commit comments

Comments
 (0)