update release, fix warning

This commit is contained in:
bunnie 2022-05-10 17:36:52 +08:00
parent b9262dc390
commit 9419ed6078
2 changed files with 2 additions and 2 deletions

View file

@ -147,7 +147,7 @@ for examples of idiomatic ways to write code for Xous.
- `modals` text entry has been refactored to allow multi-field text entries with defaults! Thanks to gsora for PR #140. - `modals` text entry has been refactored to allow multi-field text entries with defaults! Thanks to gsora for PR #140.
- fix issue #141: bug fix in `log-server` where max-length buffers were not being printed + refactor of method to use `send` vs scalars - fix issue #141: bug fix in `log-server` where max-length buffers were not being printed + refactor of method to use `send` vs scalars
- PR #149: index support for modals. Lists can be submitted as a `Vec` now, with an array index returned as the selection result. Thanks to nworbnhoj for the PR. - PR #149: index support for modals. Lists can be submitted as a `Vec` now, with an array index returned as the selection result. Thanks to nworbnhoj for the PR.
- PR #150: QR codes can now display a separate QR code from the actual text in the box via a Some/None specifier. Thanks to nworbnhoj for the PR. - PR #150 & #153: QR codes can now display a separate QR code from the actual text in the box via a Some/None specifier. Thanks to nworbnhoj for the PR & refinements.
- PR #151: message forwarding standardized as part of the messaging API. See https://betrusted.io/xous-book/ch07-07-forwarding.html - PR #151: message forwarding standardized as part of the messaging API. See https://betrusted.io/xous-book/ch07-07-forwarding.html
## Roadmap to 1.0 ## Roadmap to 1.0

View file

@ -44,7 +44,7 @@ impl Notification {
Some(setting) => { Some(setting) => {
let qrcode = match QrCode::new(setting) { let qrcode = match QrCode::new(setting) {
Ok(code) => code, Ok(code) => code,
Err(e) => QrCode::new(t!("notification.qrcode.error", xous::LANG)).unwrap(), Err(_e) => QrCode::new(t!("notification.qrcode.error", xous::LANG)).unwrap(),
}; };
self.qrwidth = qrcode.width(); self.qrwidth = qrcode.width();
log::info!( log::info!(