From 77886fae4a2d07fbcd72c26ab44b57bef541a9ab Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 5 Jul 2022 13:07:04 +0800 Subject: [PATCH] adjust dead-weight size of qrtext down wards the sizing was such that two pages of data had to be prepared for even very short messages. This change fits the message back into one page of data once again. --- services/modals/src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/modals/src/api.rs b/services/modals/src/api.rs index 4d24d1416..1725ffddf 100644 --- a/services/modals/src/api.rs +++ b/services/modals/src/api.rs @@ -40,7 +40,7 @@ pub struct ManagedNotification { pub token: [u32; 4], pub message: xous_ipc::String<1024>, // A Type 40 (177x177) qrcode with Medium data correction can encode max 3391 alphanumeric characters - pub qrtext: Option>, + pub qrtext: Option>, } #[derive(Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize, Copy, Clone)]