Improved NFC reading speed

This commit is contained in:
2026-08-22 19:40:41 +02:00
parent b6f43d1055
commit ca3c3114fc
3 changed files with 13 additions and 57 deletions
-2
View File
@@ -87,9 +87,7 @@ impl Navigable for ScanMenu {
fn handle_input(&self, input: Action) -> impl core::future::Future<Output = NewState> + Send {
async move {
log::info!("Scan view detected, checking for NFC card data");
if let Some(card_data) = CARD_DATA.lock().await.take() {
log::info!("NFC Card to be displayed: {:?}", card_data);
NewState {
view: View::Card(crate::views::card_view::CardView { card: card_data }),
replace_view: true,