From 5d226a002a7a3911b15b1a0a0c667c73daa5aea1 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 17 Dec 2021 03:11:06 +0800 Subject: [PATCH] prepare to start using the modals server for the pddb --- services/pddb/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/pddb/src/main.rs b/services/pddb/src/main.rs index 996d25b51..3b1635e41 100644 --- a/services/pddb/src/main.rs +++ b/services/pddb/src/main.rs @@ -369,7 +369,6 @@ use api::*; mod backend; use backend::*; mod ux; -use gam::TextEntryPayload; use ux::*; #[cfg(not(any(target_os = "none", target_os = "xous")))] @@ -407,6 +406,8 @@ fn xmain() -> ! { // shared entropy cache across all process-local services (it's more efficient to request entropy in blocks from the TRNG) let entropy = Rc::new(RefCell::new(TrngPool::new())); + // for less-secured user prompts (everything but password entry) + let modals = modals::Modals::new(&xns).expect("can't connect to Modals server"); // OS-specific PDDB driver let mut pddb_os = PddbOs::new(Rc::clone(&entropy));