File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
ledger_device_sdk/src/nbgl Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,10 @@ impl<'a> NbglHomeAndSettings {
120
120
}
121
121
}
122
122
123
+ /// Show the home screen and settings page.
124
+ /// This function will block until an APDU is received or the user quits the app.
125
+ /// DEPRECATED as it constraints to refresh screen for every received APDU.
126
+ /// Use `display` instead.
123
127
pub fn show < T : TryFrom < ApduHeader > > ( & mut self ) -> Event < T >
124
128
where
125
129
Reply : From < <T as TryFrom < ApduHeader > >:: Error > ,
@@ -200,6 +204,8 @@ impl<'a> NbglHomeAndSettings {
200
204
}
201
205
}
202
206
207
+ /// Show the home screen and settings page.
208
+ /// This function returns immediately after the screen is displayed.
203
209
pub fn display ( & mut self ) {
204
210
unsafe {
205
211
self . info_contents_ptr = self
You can’t perform that action at this time.
0 commit comments